diff options
author | Andrey Kumanyaev <me@zzet.org> | 2013-01-24 22:18:43 +0400 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-01-25 00:31:49 +0400 |
commit | 6d713e84e185f60b00c38e792d11df27ed110605 (patch) | |
tree | 14a43bc53065991439828fe84e0768bf8c0d2f2a /app | |
parent | 7403afea9748316b78242ecb250f619fe1a15b36 (diff) |
remove unused code
Diffstat (limited to 'app')
-rw-r--r-- | app/controllers/admin/teams_controller.rb | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/app/controllers/admin/teams_controller.rb b/app/controllers/admin/teams_controller.rb index 7371f4a446c..335add0f57d 100644 --- a/app/controllers/admin/teams_controller.rb +++ b/app/controllers/admin/teams_controller.rb @@ -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 |