From 1e89b0ab2050238d3368fd0fbaeac66e35c80d1c Mon Sep 17 00:00:00 2001 From: Matthew Landauer Date: Fri, 22 Mar 2013 17:02:23 +1100 Subject: Rename controller actions --- app/controllers/reports_controller.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app/controllers/reports_controller.rb') 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"), -- cgit v1.2.3