remove unused code
This commit is contained in:
parent
7403afea97
commit
6d713e84e1
1 changed files with 1 additions and 7 deletions
|
@ -6,13 +6,7 @@ class Admin::TeamsController < Admin::ApplicationController
|
|||
end
|
||||
|
||||
def show
|
||||
@projects = Project.scoped
|
||||
@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
|
||||
user_team
|
||||
end
|
||||
|
||||
def new
|
||||
|
|
Loading…
Reference in a new issue