Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gitlab-ce
Commits
26994b5d
Commit
26994b5d
authored
Jun 17, 2013
by
Andrew Kumanyaev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unused, but slow code
parent
2e839cee
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
4 deletions
+0
-4
app/controllers/admin/groups_controller.rb
app/controllers/admin/groups_controller.rb
+0
-4
No files found.
app/controllers/admin/groups_controller.rb
View file @
26994b5d
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment