diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-09-26 14:49:22 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-09-26 14:49:22 +0300 |
commit | 65b9768ccfbdc3de682d66430601cf3af1b2a2f8 (patch) | |
tree | b414c17b43b098b92b27cb1bb2cf1ffe40644f0c /app/views/admin/projects/show.html.haml | |
parent | edd2143d35d439e203d53b5e413f71e9f02db139 (diff) | |
download | gitlab-ce-65b9768ccfbdc3de682d66430601cf3af1b2a2f8.tar.gz |
Group ownership completely based on users_groups relation now
Before we have only owner_id to determine group owner
With multiple owners per group we should get rid of owner_id in group.
So from now @group.owner will always be nil but
@group.owners return an actual array of users who can admin this group
Diffstat (limited to 'app/views/admin/projects/show.html.haml')
-rw-r--r-- | app/views/admin/projects/show.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/admin/projects/show.html.haml b/app/views/admin/projects/show.html.haml index cecc84fe093..c8a87328207 100644 --- a/app/views/admin/projects/show.html.haml +++ b/app/views/admin/projects/show.html.haml @@ -25,7 +25,7 @@ %span.light Owned by: %strong - if @project.owner - = link_to @project.owner_name, admin_user_path(@project.owner) + = link_to @project.owner_name, [:admin, @project.owner] - else (deleted) |