Removed useless method approve_screenshot from moderate controller
This commit is contained in:
parent
174a2567df
commit
bd3167b699
1 changed files with 0 additions and 7 deletions
|
|
@ -26,11 +26,4 @@ class ModerateController < ApplicationController
|
|||
# @percent_moderated = 100 * (@moderated_screenshots+1) / (@moderated_screenshots + @pending_screenshots.count + @reported_screenshots.count)
|
||||
end
|
||||
end
|
||||
|
||||
def approve_screenshot
|
||||
@screenshot = Screenshot.find(params[:id])
|
||||
flash['notice'] = "Screenshot approved."
|
||||
redirect_to :index
|
||||
end
|
||||
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue