diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2015-06-29 16:09:00 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2015-06-29 16:09:00 +0000 |
commit | 670340e543cecafbd7c6f89e3113d7b06858e0bb (patch) | |
tree | b984411f79aa783d903c16e0cfe87b7beff0d6b1 /config/routes.rb | |
parent | 004fc8b84b1cebc521664ca3830f969a91244e67 (diff) | |
download | redmine-670340e543cecafbd7c6f89e3113d7b06858e0bb.tar.gz redmine-670340e543cecafbd7c6f89e3113d7b06858e0bb.zip |
The test email action should only be accessible with POST (#20203).
git-svn-id: http://svn.redmine.org/redmine/trunk@14389 e93f8b46-1217-0410-a6f0-8f06a7374b81
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 625440c8e..7e8ebeb84 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -324,7 +324,7 @@ Rails.application.routes.draw do match 'admin/projects', :controller => 'admin', :action => 'projects', :via => :get match 'admin/plugins', :controller => 'admin', :action => 'plugins', :via => :get match 'admin/info', :controller => 'admin', :action => 'info', :via => :get - match 'admin/test_email', :controller => 'admin', :action => 'test_email', :via => :get + match 'admin/test_email', :controller => 'admin', :action => 'test_email', :via => :post match 'admin/default_configuration', :controller => 'admin', :action => 'default_configuration', :via => :post resources :auth_sources do |