Commit 6d713e84 authored by Andrey Kumanyaev's avatar Andrey Kumanyaev Committed by Dmitriy Zaporozhets

remove unused code

parent 7403afea
...@@ -6,13 +6,7 @@ class Admin::TeamsController < Admin::ApplicationController ...@@ -6,13 +6,7 @@ class Admin::TeamsController < Admin::ApplicationController
end end
def show def show
@projects = Project.scoped user_team
@projects = @projects.without_team(user_team) if user_team.projects.any?
#@projects.reject!(&:empty_repo?)
@users = User.active
@users = @users.not_in_team(user_team) if user_team.members.any?
@users = UserDecorator.decorate @users
end end
def new def new
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment