Sha256: dbbee2323cc334a107eb106f1f6116272e58f35e85429841224ca310e05f366f
Contents?: true
Size: 661 Bytes
Versions: 1
Compression:
Stored size: 661 Bytes
Contents
Rails.application.routes.draw do resources :passwords, :controller => 'clearance/passwords', :only => [:create, :new] resource :session, :controller => 'clearance/sessions', :only => [:create, :new, :destroy] resources :users, :controller => 'clearance/users', :only => [:create, :new] do resource :password, :controller => 'clearance/passwords', :only => [:create, :edit, :update] end match 'sign_in' => 'clearance/sessions#new', :as => 'sign_in' match 'sign_out' => 'clearance/sessions#destroy', :as => 'sign_out', :via => :delete match 'sign_up' => 'clearance/users#new', :as => 'sign_up' end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
clearance-1.0.0.rc4 | config/routes.rb |