merges master and fixes conflicts
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
|
||||
@@ -1,5 +1,4 @@
|
||||
class Moderation::DashboardController < Moderation::BaseController
|
||||
layout 'admin'
|
||||
|
||||
def index
|
||||
end
|
||||
|
||||
7
app/controllers/moderation/debates_controller.rb
Normal file
7
app/controllers/moderation/debates_controller.rb
Normal file
@@ -0,0 +1,7 @@
|
||||
class Moderation::DebatesController < Moderation::BaseController
|
||||
|
||||
def hide
|
||||
@debate = Debate.find(params[:id])
|
||||
@debate.hide
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user