Commit d899fcdd authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Merge pull request #4325 from zzet/patch-1

Remove unused but slow code
parents cc5440e8 26994b5d
No related merge requests found
......@@ -8,10 +8,6 @@ class Admin::GroupsController < Admin::ApplicationController
end
def show
@projects = Project.scoped
@projects = @projects.not_in_group(@group) if @group.projects.present?
@projects = @projects.all
@projects.reject!(&:empty_repo?)
end
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