Sha256: aa9a72c36421001427e995ab339fe77ca304490e4e60d0c628f762b80aae3769

Contents?: true

Size: 587 Bytes

Versions: 2

Compression:

Stored size: 587 Bytes

Contents

Comable::Core::Engine.routes.draw do
  namespace :admin do
    root to: 'dashboard#show'

    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, controllers: {
      sessions: 'comable/admin/user_sessions'
    }
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
comable_backend-0.3.4 config/routes.rb
comable_backend-0.3.3 config/routes.rb