config/routes.rb in comable_backend-0.3.2 vs config/routes.rb in comable_backend-0.3.3
- old
+ new
@@ -5,16 +5,19 @@
resource :dashboard, only: :show
resources :products do
resources :stocks
end
+ resources :stocks
resources :categories
resources :orders
resources :customers
resources :shipment_methods
resources :payment_methods
resource :store, controller: :store, only: [:show, :edit, :update]
- devise_for :customer, path: :user, class_name: Comable::Customer.name, module: :devise
+ devise_for :customer, path: :user, class_name: Comable::Customer.name, module: :devise, controllers: {
+ sessions: 'comable/admin/user_sessions'
+ }
end
end