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
1f09948c
Commit
1f09948c
authored
Sep 12, 2018
by
Douglas Barbosa Alexandre
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unused Geo nodes routes
parent
ba37a5ae
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
9 deletions
+3
-9
config/routes/admin.rb
config/routes/admin.rb
+1
-7
ee/app/controllers/admin/geo_nodes_controller.rb
ee/app/controllers/admin/geo_nodes_controller.rb
+2
-2
No files found.
config/routes/admin.rb
View file @
1f09948c
...
...
@@ -131,13 +131,7 @@ namespace :admin do
get
:download
,
on: :member
end
resources
:geo_nodes
,
only:
[
:index
,
:create
,
:new
,
:edit
,
:update
,
:destroy
]
do
member
do
post
:repair
post
:toggle
get
:status
end
end
resources
:geo_nodes
,
only:
[
:index
,
:create
,
:new
,
:edit
,
:update
]
resources
:geo_projects
,
only:
[
:index
]
do
member
do
...
...
ee/app/controllers/admin/geo_nodes_controller.rb
View file @
1f09948c
class
Admin::GeoNodesController
<
Admin
::
ApplicationController
before_action
:check_license
,
except:
[
:index
,
:destroy
]
before_action
:load_node
,
only:
[
:edit
,
:update
,
:destroy
,
:repair
,
:toggle
,
:status
]
before_action
:check_license
,
except:
:index
before_action
:load_node
,
only:
[
:edit
,
:update
]
helper
EE
::
GeoHelper
...
...
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