Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #3168 from jojosch/owner-link-admin-4.2

Fix link to owner of group and team in admin interface (4.2)
  • Loading branch information...
commit c90a98c55c4f67f6950ad137d82593b384ec3b2b 2 parents d67117b + c9556c6
@randx randx authored
2  app/views/admin/groups/index.html.haml
@@ -28,7 +28,7 @@
%td= group.path
%td= group.projects.count
- = link_to group.owner_name, admin_user_path(group.owner_id)
+ = link_to group.owner_name, admin_user_path(group.owner)
= link_to 'Rename', edit_admin_group_path(group), id: "edit_#{dom_id(group)}", class: "btn btn-small"
= link_to 'Destroy', [:admin, group], confirm: "REMOVE #{}? Are you sure?", method: :delete, class: "btn btn-small btn-remove"
2  app/views/admin/teams/index.html.haml
@@ -30,7 +30,7 @@
%td= team.projects.count
%td= team.members.count
- = link_to, admin_user_path(team.owner_id)
+ = link_to, admin_user_path(team.owner)
= link_to 'Rename', edit_admin_team_path(team), id: "edit_#{dom_id(team)}", class: "btn btn-small"
= link_to 'Destroy', admin_team_path(team), confirm: "REMOVE #{}? Are you sure?", method: :delete, class: "btn btn-small btn-remove"
Please sign in to comment.
Something went wrong with that request. Please try again.