Skip to content
Snippets Groups Projects
Commit b68bba44 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Fix projects in admin -> user -> show

parent 0125b74b
No related branches found
No related tags found
1 merge request!2940Expanding repos and hooks paths in settings
Loading
Loading
@@ -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
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment