diff options
author | Eric Davis <edavis@littlestreamsoftware.com> | 2010-10-04 15:36:16 +0000 |
---|---|---|
committer | Eric Davis <edavis@littlestreamsoftware.com> | 2010-10-04 15:36:16 +0000 |
commit | a034172b24cde31bac0f18b842db8c76cfb80bb1 (patch) | |
tree | 82c93a52c8ecdbcdd2f610fe7a477dab0acaa1f6 /app/views/users/index.rhtml | |
parent | 86ba692bf5312b37b6e30778d14daf0a675254bb (diff) | |
download | redmine-a034172b24cde31bac0f18b842db8c76cfb80bb1.tar.gz redmine-a034172b24cde31bac0f18b842db8c76cfb80bb1.zip |
Refactor: convert UsersController to resource
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4231 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/users/index.rhtml')
-rw-r--r-- | app/views/users/index.rhtml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/users/index.rhtml b/app/views/users/index.rhtml index 804678959..69ad73747 100644 --- a/app/views/users/index.rhtml +++ b/app/views/users/index.rhtml @@ -30,7 +30,7 @@ <tbody> <% for user in @users -%> <tr class="user <%= cycle("odd", "even") %> <%= %w(anon active registered locked)[user.status] %>"> - <td class="username"><%= avatar(user, :size => "14") %><%= link_to h(user.login), :action => 'edit', :id => user %></td> + <td class="username"><%= avatar(user, :size => "14") %><%= link_to h(user.login), edit_user_path(user) %></td> <td class="firstname"><%= h(user.firstname) %></td> <td class="lastname"><%= h(user.lastname) %></td> <td class="email"><%= mail_to(h(user.mail)) %></td> |