Reporting of spam screenshots disabled

Will be re-enabled later with a proper seperate page.
This commit is contained in:
Christoph Haas 2017-08-11 21:06:33 +02:00
parent 030145ca7e
commit 0fbc247aff
3 changed files with 38 additions and 22 deletions

View file

@ -28,7 +28,7 @@ Rails.application.routes.draw do
# TODO: "get" is probably the wrong method to delete a screenshot
get 'delete_screenshot/:id' => 'packages#delete_screenshot', as: :delete_screenshot
post 'update_screenshot_description/:name/:id' => 'packages#update_screenshot_description', as: :update_screenshot_description
post 'report_screenshot/:id' => 'packages#report_screenshot', as: :report_screenshot
#post 'report_screenshot/:id' => 'packages#report_screenshot', as: :report_screenshot
# TODO: "get" is probably the wrong method to delete a screenshot
get 'approve_screenshot/:id' => 'packages#approve_screenshot', as: :approve_screenshot
get 'about' => 'welcome#about'