aboutsummaryrefslogtreecommitdiffstats
path: root/config/routes.rb
diff options
context:
space:
mode:
authorMatthew Landauer <matthew@openaustralia.org>2013-03-22 17:02:23 +1100
committerMatthew Landauer <matthew@openaustralia.org>2013-03-22 17:02:23 +1100
commit1e89b0ab2050238d3368fd0fbaeac66e35c80d1c (patch)
tree4060485dc67daf8e89c6b89ca7c0deda361e99cf /config/routes.rb
parent5fbb8f4357fd759cadfa0191694d3bad49d86a90 (diff)
Rename controller actions
Diffstat (limited to 'config/routes.rb')
-rw-r--r--config/routes.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 4ba74f681..0d36cbf82 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -60,8 +60,8 @@ Alaveteli::Application.routes.draw do
match '/request/:url_title/download' => 'request#download_entire_request', :as => :download_entire_request
####
- match '/request/:url_title/report' => 'reports#report_request', :as => :request_report, :via => :post
- match '/request/:url_title/report/new' => 'reports#new_report_request', :as => :new_request_report
+ match '/request/:url_title/report' => 'reports#create', :as => :request_report, :via => :post
+ match '/request/:url_title/report/new' => 'reports#new', :as => :new_request_report
#### User controller
# Use /profile for things to do with the currently signed in user.