mirror of
https://github.com/redmine/redmine.git
synced 2026-03-06 12:31:40 +01:00
Rails3: view: use explicit post method at projects/settings/_modules.html.erb
On Rails3, form_for generates hidden "put" input tag. So, 'No route matches "/projects/id/modules"' error raises. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8482 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
<% form_for :project, @project,
|
||||
:url => { :action => 'modules', :id => @project },
|
||||
:html => {:id => 'modules-form'} do |f| %>
|
||||
:html => {:id => 'modules-form',
|
||||
:method => :post} do |f| %>
|
||||
|
||||
<div class="box">
|
||||
<fieldset>
|
||||
|
||||
Reference in New Issue
Block a user