Sha256: 2dd7523c3dfdeb4fd65d165ebcaa89cd9f17d641475d7e3c04a3a10008c46995

Contents?: true

Size: 423 Bytes

Versions: 9

Compression:

Stored size: 423 Bytes

Contents

Adminpanel::Engine.routes.draw do
  	resources :sections, :except => [:new]
    resources :users
    resources :galleries
    resources :sessions, :only => [:new, :create, :destroy]
    resources :products
    resources :categories
    root :to => 'products#index'
    match '/signout', :to => 'sessions#destroy', :via => :delete, :as => "signout"
    match '/signin', :to => 'sessions#new', :as => "signin"
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
adminpanel-0.1.0 config/routes.rb
adminpanel-0.0.7 config/routes.rb
adminpanel-0.0.6.1 config/routes.rb
adminpanel-0.0.6 config/routes.rb
adminpanel-0.0.5 config/routes.rb
adminpanel-0.0.4 config/routes.rb
adminpanel-0.0.3 config/routes.rb
adminpanel-0.0.2 config/routes.rb
adminpanel-0.0.1 config/routes.rb