Fix link to owner of group and team in admin interface

This commit is contained in:
Johannes Schleifenbaum 2013-02-17 11:00:02 +01:00
parent 9764ba6df2
commit 3ae7a45d5a
2 changed files with 2 additions and 2 deletions

View file

@ -28,7 +28,7 @@
%td= group.path
%td= group.projects.count
%td
= link_to group.owner_name, admin_user_path(group.owner_id)
= link_to group.owner_name, admin_user_path(group.owner)
%td.bgred
= link_to 'Rename', edit_admin_group_path(group), id: "edit_#{dom_id(group)}", class: "btn btn-small"
= link_to 'Destroy', [:admin, group], confirm: "REMOVE #{group.name}? Are you sure?", method: :delete, class: "btn btn-small btn-remove"