Remove unused Geo nodes routes

parent ba37a5ae
......@@ -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