mirror of
https://github.com/redmine/redmine.git
synced 2025-11-02 11:25:55 +01:00
Makes /projects/:project_id/issues/new accept PUT requests for when serializing a form with a PUT _method hidden tag.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8528 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -109,6 +109,10 @@ class RoutingIssuesTest < ActionController::IntegrationTest
|
||||
{ :method => 'post', :path => "/projects/23/issues/new" },
|
||||
{ :controller => 'issues', :action => 'new', :project_id => '23' }
|
||||
)
|
||||
assert_routing(
|
||||
{ :method => 'put', :path => "/projects/23/issues/new" },
|
||||
{ :controller => 'issues', :action => 'new', :project_id => '23' }
|
||||
)
|
||||
end
|
||||
|
||||
def test_issues_extra_actions
|
||||
|
||||
Reference in New Issue
Block a user