@@ -137,8 +137,8 @@ defmodule GroupherServer.CMS do
137137 defdelegate paged_published_comments ( user , thread , filters ) , to: CommentCurd
138138 defdelegate paged_published_comments ( user , filters ) , to: CommentCurd
139139
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
142142
143143 defdelegate paged_comment_replies ( comment_id , filters ) , to: CommentCurd
144144 defdelegate paged_comment_replies ( comment_id , filters , user ) , to: CommentCurd
@@ -154,14 +154,14 @@ defmodule GroupherServer.CMS do
154154 defdelegate upvote_comment ( comment_id , user ) , to: CommentAction
155155 defdelegate undo_upvote_comment ( comment_id , user ) , to: CommentAction
156156 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
159159
160160 defdelegate pin_comment ( comment_id ) , to: CommentAction
161161 defdelegate undo_pin_comment ( comment_id ) , to: CommentAction
162162
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
165165
166166 defdelegate emotion_to_comment ( comment_id , args , user ) , to: CommentEmotion
167167 defdelegate undo_emotion_to_comment ( comment_id , args , user ) , to: CommentEmotion
@@ -172,12 +172,12 @@ defmodule GroupherServer.CMS do
172172
173173 # TODO: move report to abuse report module
174174 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
176176 defdelegate report_account ( account_id , reason , attr , user ) , to: AbuseReport
177177 defdelegate undo_report_account ( account_id , user ) , to: AbuseReport
178178 defdelegate undo_report_article ( thread , article_id , user ) , to: AbuseReport
179179 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
181181
182182 # Passport CURD
183183 defdelegate stamp_passport ( rules , user ) , to: PassportCURD
0 commit comments