Commit 26994b5d309740d8728dcad73132ce268cd5933c
1 parent
2e839cee
Exists in
master
and in
4 other branches
Remove unused, but slow code
Showing
1 changed file
with
0 additions
and
4 deletions
Show diff stats
app/controllers/admin/groups_controller.rb
... | ... | @@ -8,10 +8,6 @@ class Admin::GroupsController < Admin::ApplicationController |
8 | 8 | end |
9 | 9 | |
10 | 10 | def show |
11 | - @projects = Project.scoped | |
12 | - @projects = @projects.not_in_group(@group) if @group.projects.present? | |
13 | - @projects = @projects.all | |
14 | - @projects.reject!(&:empty_repo?) | |
15 | 11 | end |
16 | 12 | |
17 | 13 | def new | ... | ... |