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
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
0a7f3b80
Commit
0a7f3b80
authored
Feb 27, 2019
by
Toon Claes
Committed by
Stan Hu
Apr 05, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Extract local variable into private method
parent
7a6f9958
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
ee/app/controllers/admin/geo/projects_controller.rb
ee/app/controllers/admin/geo/projects_controller.rb
+4
-2
No files found.
ee/app/controllers/admin/geo/projects_controller.rb
View file @
0a7f3b80
...
...
@@ -6,8 +6,6 @@ class Admin::Geo::ProjectsController < Admin::Geo::ApplicationController
before_action
:limited_actions_message!
def
index
finder
=
::
Geo
::
ProjectRegistryStatusFinder
.
new
@registries
=
case
params
[
:sync_status
]
when
'never'
finder
.
never_synced_projects
.
page
(
params
[
:page
])
...
...
@@ -75,4 +73,8 @@ class Admin::Geo::ProjectsController < Admin::Geo::ApplicationController
def
redirect_back_or_admin_geo_projects
(
params
)
redirect_back_or_default
(
default:
admin_geo_projects_path
,
options:
params
)
end
def
finder
@finder
||=
::
Geo
::
ProjectRegistryStatusFinder
.
new
end
end
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