diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2011-11-23 20:21:10 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2011-11-23 20:21:10 +0000 |
commit | 05f3bb6241565dd1cdbc17068a95441ace6cfb50 (patch) | |
tree | 162c963faf19a4ee656891f408e9abf64cf57012 /app/views/projects/_edit.html.erb | |
parent | 3e0936606ec9f48030ecd85ecc7be899bac0ae3c (diff) | |
download | redmine-05f3bb6241565dd1cdbc17068a95441ace6cfb50.tar.gz redmine-05f3bb6241565dd1cdbc17068a95441ace6cfb50.zip |
Removed object name from form_for arguments.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7905 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/projects/_edit.html.erb')
-rw-r--r-- | app/views/projects/_edit.html.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/_edit.html.erb b/app/views/projects/_edit.html.erb index 2ecc822df..43e1c3ba6 100644 --- a/app/views/projects/_edit.html.erb +++ b/app/views/projects/_edit.html.erb @@ -1,4 +1,4 @@ -<% labelled_tabular_form_for :project, @project, :url => project_path(@project), :html => {:method => (@project.new_record? ? :post : :put) } do |f| %> +<% labelled_tabular_form_for @project do |f| %> <%= render :partial => 'form', :locals => { :f => f } %> <%= submit_tag l(:button_save) %> <% end %> |