remove unused code

This commit is contained in:
Andrey Kumanyaev 2013-01-24 22:18:43 +04:00 committed by Dmitriy Zaporozhets
parent 7403afea97
commit 6d713e84e1

View file

@ -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