Sha256: cb8ac75ad9e68d6f785605ba7d3725843f784e3eee5acafe4d25c9afc8a2350e
Contents?: true
Size: 1.16 KB
Versions: 2
Compression:
Stored size: 1.16 KB
Contents
Rails.application.routes.draw do namespace :admin do get 'login' => 'user_sessions#new', :as => 'login' get 'badges' => 'dashboard#badges' resources :password_resets, :only => [:index, :create, :show, :update], :path => 'login/forgot' get 'settings' => 'settings#edit', :as => 'settings' put 'settings' => 'settings#update' put 'change_sort' => 'dashboard#change_sort' root :to => "dashboard#index" resources :users do get 'export', :on => :collection end resources :roles get 'setup' => 'setup#new' post 'setup' => 'setup#create' end # Non-admin login paths get 'login' => 'user_sessions#new', :as => 'login' post 'login' => 'user_sessions#create' match 'logout' => 'user_sessions#destroy', :as => 'logout', :via => [:get, :post] get 'login/change_password' => 'user_sessions#change_password' post 'login/change_password' => 'user_sessions#set_change_password' resources :password_resets, :only => [:index, :create, :show, :update], :path => 'login/forgot' get 'spud/admin' => 'admin/user_sessions#legacy_redirect' get 'spud/not_found' => 'spud/application#not_found', :as => 'not_found' end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
tb_core-1.3.10 | config/routes.rb |
tb_core-1.3.9 | config/routes.rb |