config/routes.rb in udongo-4.0.0 vs config/routes.rb in udongo-5.0.0
- old
+ new
@@ -14,13 +14,15 @@
end
get '/' => 'dashboard#show'
get 'search' => 'search#query'
-
resources :sessions, only: [:new, :create, :destroy]
resources :admins
+ resources :users
+ resources :redirects, except: :show
+ resources :search_synonyms, except: :show
resources :pages, except: [:show] do
concerns :translatable
member do
post :tree_drag_and_drop, :toggle_visibility
@@ -54,13 +56,9 @@
resources :emails, only: [:index, :show] do
member do
get 'html_content'
end
end
-
- resources :redirects, except: :show
-
- resources :search_synonyms, except: :show
namespace :content do
resources :rows, only: [:index, :new, :destroy] do
concerns :positionable