config/routes.rb in comable_backend-0.1.0 vs config/routes.rb in comable_backend-0.2.0
- old
+ new
@@ -1,5 +1,8 @@
Comable::Core::Engine.routes.draw do
- scope :admin do
- get '/' => 'admin/products#index'
+ namespace :admin do
+ root to: 'products#index'
+
+ resources :shipment_methods
+ resource :store, controller: :store
end
end