mirror of
https://github.com/redmine/redmine.git
synced 2025-11-09 06:46:01 +01:00
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
This commit is contained in:
@@ -23,7 +23,7 @@ class RoutingAdminTest < Redmine::RoutingTest
|
||||
should_route 'GET /admin/projects' => 'admin#projects'
|
||||
should_route 'GET /admin/plugins' => 'admin#plugins'
|
||||
should_route 'GET /admin/info' => 'admin#info'
|
||||
should_route 'GET /admin/test_email' => 'admin#test_email'
|
||||
should_route 'POST /admin/test_email' => 'admin#test_email'
|
||||
should_route 'POST /admin/default_configuration' => 'admin#default_configuration'
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user