Commit 26994b5d authored by Andrew Kumanyaev's avatar Andrew Kumanyaev

Remove unused, but slow code

parent 2e839cee
...@@ -8,10 +8,6 @@ class Admin::GroupsController < Admin::ApplicationController ...@@ -8,10 +8,6 @@ class Admin::GroupsController < Admin::ApplicationController
end end
def show def show
@projects = Project.scoped
@projects = @projects.not_in_group(@group) if @group.projects.present?
@projects = @projects.all
@projects.reject!(&:empty_repo?)
end end
def new 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