mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-22 11:06:10 +10:00
Fix projects in admin -> user -> show
This commit is contained in:
@@ -10,7 +10,7 @@ class Admin::UsersController < Admin::ApplicationController
|
||||
|
||||
def show
|
||||
@projects = Project.scoped
|
||||
@projects = @projects.without_user(admin_user) if admin_user.authorized_projects.empty?
|
||||
@projects = @projects.without_user(admin_user) if admin_user.authorized_projects.present?
|
||||
end
|
||||
|
||||
def team_update
|
||||
|
||||
Reference in New Issue
Block a user