config/routes.rb in ecm_downloads2-4.0.1 vs config/routes.rb in ecm_downloads2-5.0.0
- old
+ new
@@ -1,8 +1,11 @@
Ecm::Downloads::Engine.routes.draw do
localized do
- resources :download_categories, only: [:index, :show]
- resources :downloads, only: [:index, :show] do
- get :download, on: :member
+ scope :ecm_downloads do
+ resources :download_categories, only: [:index, :show]
+ resources :downloads, only: [:index, :show] do
+ get :download, on: :member
+ end
+ root to: 'download_categories#index'
end
end
end