calls all the sorting scopes the same way
This commit is contained in:
@@ -27,7 +27,7 @@ class Moderation::CommentsController < Moderation::BaseController
|
||||
private
|
||||
|
||||
def load_comments
|
||||
@comments = Comment.accessible_by(current_ability, :hide).flagged.sorted_for_moderation.includes(:commentable)
|
||||
@comments = Comment.accessible_by(current_ability, :hide).flagged.sort_for_moderation.includes(:commentable)
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user