diff options
author | Louise Crow <louise.crow@gmail.com> | 2014-11-04 14:44:16 +0000 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2014-12-12 16:47:13 +0000 |
commit | 11e2ae209c2c9c5d9452183daed1cc7f1226d7d6 (patch) | |
tree | 608b48644fe426de027a4875dc2504205442d926 /config/routes.rb | |
parent | 12aca5dd819653e596f7c13e587e6e7967d6ded3 (diff) |
Use RESTful routing for resend action
Diffstat (limited to 'config/routes.rb')
-rw-r--r-- | config/routes.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb index 7e40ceb29..aeeab785d 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -213,7 +213,6 @@ Alaveteli::Application.routes.draw do #### #### AdminRequest controller - match '/admin/request/resend' => 'admin_request#resend', :as => :admin_request_resend scope '/admin', :as => 'admin' do resources :requests, :controller => 'admin_request', @@ -244,6 +243,7 @@ Alaveteli::Application.routes.draw do match '/admin/outgoing/edit/:id' => 'admin_outgoing_message#edit', :as => :admin_outgoing_edit match '/admin/outgoing/destroy/:id' => 'admin_outgoing_message#destroy', :as => :admin_outgoing_destroy match '/admin/outgoing/update/:id' => 'admin_outgoing_message#update', :as => :admin_outgoing_update + match '/admin/outgoing/resend/:id' => 'admin_outgoing_message#resend', :as => :admin_outgoing_resend #### #### AdminUser controller |