summaryrefslogtreecommitdiffstats
path: root/app/views/users
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2007-01-26 21:09:27 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2007-01-26 21:09:27 +0000
commit486b4e9ea25807086e9bf4f865ec05d60fb48d1c (patch)
treeb37c124dc24be60e7194f8e38397e402634324f8 /app/views/users
parent5f361e71df2d50d06b54370530f2d53bf928dfbf (diff)
downloadredmine-486b4e9ea25807086e9bf4f865ec05d60fb48d1c.tar.gz
redmine-486b4e9ea25807086e9bf4f865ec05d60fb48d1c.zip
deprecated ":post => true" replaced
git-svn-id: http://redmine.rubyforge.org/svn/trunk@191 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/users')
-rw-r--r--app/views/users/_memberships.rhtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/users/_memberships.rhtml b/app/views/users/_memberships.rhtml
index c3d1fd79e..098ba83b1 100644
--- a/app/views/users/_memberships.rhtml
+++ b/app/views/users/_memberships.rhtml
@@ -9,7 +9,7 @@
<%= options_from_collection_for_select @roles, "id", "name", membership.role_id %>
</select>
<%= submit_tag l(:button_change), :class => "button-small" %>
- <%= link_to l(:button_delete), {:action => 'destroy_membership', :id => @user, :membership_id => membership }, :confirm => l(:text_are_you_sure), :post => true, :class => 'icon icon-del' %>
+ <%= link_to l(:button_delete), {:action => 'destroy_membership', :id => @user, :membership_id => membership }, :confirm => l(:text_are_you_sure), :method => :post, :class => 'icon icon-del' %>
</p>
<% end %>
<% end %>