diff options
author | Valery Sizov <valery@gitlab.com> | 2016-12-28 14:10:34 +0300 |
---|---|---|
committer | Valery Sizov <valery@gitlab.com> | 2016-12-28 16:34:12 +0300 |
commit | 684536321c9c847a8a39d0adc95e0c17be355c72 (patch) | |
tree | 781f8818f60ccc4288eea077ab88091afc89eb78 /app/controllers | |
parent | b93c72e33a50aaed845fe333dee0201b0b11934e (diff) |
Fix: Admin group show page does not work
Diffstat (limited to 'app/controllers')
-rw-r--r-- | app/controllers/admin/groups_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/admin/groups_controller.rb b/app/controllers/admin/groups_controller.rb index 61a3a03182a..add1c819adf 100644 --- a/app/controllers/admin/groups_controller.rb +++ b/app/controllers/admin/groups_controller.rb @@ -9,7 +9,7 @@ class Admin::GroupsController < Admin::ApplicationController end def show - @group = Group.with_statistics.find_by_full_path(params[:id]) + @group = Group.with_statistics.joins(:route).group('routes.path').find_by_full_path(params[:id]) @members = @group.members.order("access_level DESC").page(params[:members_page]) @requesters = AccessRequestsFinder.new(@group).execute(current_user) @projects = @group.projects.with_statistics.page(params[:projects_page]) |