@@ -137,8 +137,8 @@ defmodule GroupherServer.CMS do
137
137
defdelegate paged_published_comments ( user , thread , filters ) , to: CommentCurd
138
138
defdelegate paged_published_comments ( user , filters ) , to: CommentCurd
139
139
140
- defdelegate paged_folded_article_comments ( thread , article_id , filters ) , to: CommentCurd
141
- defdelegate paged_folded_article_comments ( thread , article_id , filters , user ) , to: CommentCurd
140
+ defdelegate paged_folded_comments ( thread , article_id , filters ) , to: CommentCurd
141
+ defdelegate paged_folded_comments ( thread , article_id , filters , user ) , to: CommentCurd
142
142
143
143
defdelegate paged_comment_replies ( comment_id , filters ) , to: CommentCurd
144
144
defdelegate paged_comment_replies ( comment_id , filters , user ) , to: CommentCurd
@@ -154,14 +154,14 @@ defmodule GroupherServer.CMS do
154
154
defdelegate upvote_comment ( comment_id , user ) , to: CommentAction
155
155
defdelegate undo_upvote_comment ( comment_id , user ) , to: CommentAction
156
156
defdelegate reply_comment ( comment_id , args , user ) , to: CommentAction
157
- defdelegate lock_article_comment ( thread , article_id ) , to: CommentAction
158
- defdelegate undo_lock_article_comment ( thread , article_id ) , to: CommentAction
157
+ defdelegate lock_article_comments ( thread , article_id ) , to: CommentAction
158
+ defdelegate undo_lock_article_comments ( thread , article_id ) , to: CommentAction
159
159
160
160
defdelegate pin_comment ( comment_id ) , to: CommentAction
161
161
defdelegate undo_pin_comment ( comment_id ) , to: CommentAction
162
162
163
- defdelegate fold_article_comment ( comment_id , user ) , to: CommentAction
164
- defdelegate unfold_article_comment ( comment_id , user ) , to: CommentAction
163
+ defdelegate fold_comment ( comment_id , user ) , to: CommentAction
164
+ defdelegate unfold_comment ( comment_id , user ) , to: CommentAction
165
165
166
166
defdelegate emotion_to_comment ( comment_id , args , user ) , to: CommentEmotion
167
167
defdelegate undo_emotion_to_comment ( comment_id , args , user ) , to: CommentEmotion
@@ -172,12 +172,12 @@ defmodule GroupherServer.CMS do
172
172
173
173
# TODO: move report to abuse report module
174
174
defdelegate report_article ( thread , article_id , reason , attr , user ) , to: AbuseReport
175
- defdelegate report_article_comment ( comment_id , reason , attr , user ) , to: AbuseReport
175
+ defdelegate report_comment ( comment_id , reason , attr , user ) , to: AbuseReport
176
176
defdelegate report_account ( account_id , reason , attr , user ) , to: AbuseReport
177
177
defdelegate undo_report_account ( account_id , user ) , to: AbuseReport
178
178
defdelegate undo_report_article ( thread , article_id , user ) , to: AbuseReport
179
179
defdelegate paged_reports ( filter ) , to: AbuseReport
180
- defdelegate undo_report_article_comment ( comment_id , user ) , to: AbuseReport
180
+ defdelegate undo_report_comment ( comment_id , user ) , to: AbuseReport
181
181
182
182
# Passport CURD
183
183
defdelegate stamp_passport ( rules , user ) , to: PassportCURD