adds moderation to comments and debates [#136]
This commit is contained in:
8
app/controllers/moderation/comments_controller.rb
Normal file
8
app/controllers/moderation/comments_controller.rb
Normal file
@@ -0,0 +1,8 @@
|
||||
class Moderation::CommentsController < Moderation::BaseController
|
||||
|
||||
def hide
|
||||
@comment = Comment.find(params[:id])
|
||||
@comment.hide
|
||||
end
|
||||
|
||||
end
|
||||
Reference in New Issue
Block a user