summaryrefslogtreecommitdiffstats
path: root/app/views/users
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2012-01-04 18:24:28 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2012-01-04 18:24:28 +0000
commit091de63f30ee9e2268b6098c11048416e224791b (patch)
treeec7e6182bff0cb42bc57ab916ea724fef511b05c /app/views/users
parentf7aa6d4198bfe3ed7aefc0f5a0e1cc03fbd74ef3 (diff)
downloadredmine-091de63f30ee9e2268b6098c11048416e224791b.tar.gz
redmine-091de63f30ee9e2268b6098c11048416e224791b.zip
Use explicit path name.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8504 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/users')
-rw-r--r--app/views/users/index.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/users/index.html.erb b/app/views/users/index.html.erb
index 6def80646..3decdc971 100644
--- a/app/views/users/index.html.erb
+++ b/app/views/users/index.html.erb
@@ -46,7 +46,7 @@
<td class="last_login_on" align="center"><%= format_time(user.last_login_on) unless user.last_login_on.nil? %></td>
<td class="buttons">
<%= change_status_link(user) %>
- <%= link_to(l(:button_delete), user, :confirm => l(:text_are_you_sure), :method => :delete, :class => 'icon icon-del') unless User.current == user %>
+ <%= link_to(l(:button_delete), user_path(user), :confirm => l(:text_are_you_sure), :method => :delete, :class => 'icon icon-del') unless User.current == user %>
</td>
</tr>
<% end -%>