Commit 745eebda authored by Douglas Barbosa Alexandre's avatar Douglas Barbosa Alexandre

Merge branch 'da-remove-unused-geo-nodes-routes' into 'master'

Remove unused Geo nodes routes

See merge request gitlab-org/gitlab-ee!7352
parents 67856357 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
......
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
......
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