aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/reports_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/reports_controller.rb')
-rw-r--r--app/controllers/reports_controller.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/reports_controller.rb b/app/controllers/reports_controller.rb
index cf1ad19e7..070a91421 100644
--- a/app/controllers/reports_controller.rb
+++ b/app/controllers/reports_controller.rb
@@ -1,5 +1,5 @@
class ReportsController < ApplicationController
- def report_request
+ def create
info_request = InfoRequest.find_by_url_title!(params[:url_title])
if !authenticated_user
flash[:notice] = _("You need to be logged in to report a request for administrator attention")
@@ -12,7 +12,7 @@ class ReportsController < ApplicationController
redirect_to request_url(info_request)
end
- def new_report_request
+ def new
@info_request = InfoRequest.find_by_url_title!(params[:url_title])
if authenticated?(
:web => _("To report this request"),