Sha256: 02dc7de97b9b7134388142b22973fb7222394e4557af9f1356a460a113e25e14
Contents?: true
Size: 728 Bytes
Versions: 2
Compression:
Stored size: 728 Bytes
Contents
Rails.application.routes.draw do namespace :spud, :path => '/' do namespace :admin do get 'login' => 'user_sessions#new', :as => 'login' post 'login' => 'user_sessions#create' match 'logout' => 'user_sessions#destroy', :as => 'logout' resources :password_resets, :only => [:index, :create, :show, :update], :path => 'forgot' get 'settings' => 'settings#edit', :as => 'settings' put 'settings' => 'settings#update' root :to => "dashboard#index" resources :users match 'switch' => "dashboard#switch" end resource :sitemap, :only => [:show] match 'setup' => 'setup#index' end get 'spud/admin' => 'spud/admin/user_sessions#legacy_redirect' end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
tb_core-1.0.2 | config/routes.rb |
tb_core-1.0.1 | config/routes.rb |