Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

20 lines (16 sloc) 0.666 kb
Rails.application.routes.draw do
resources :passwords,
:controller => 'clearance/passwords',
:only => [:new, :create]
resource :session,
:controller => 'clearance/sessions',
:only => [:new, :create, :destroy]
resources :users, :controller => 'clearance/users', :only => [:new, :create] do
resource :password,
:controller => 'clearance/passwords',
:only => [:create, :edit, :update]
end
match 'sign_up' => 'clearance/users#new', :as => 'sign_up'
match 'sign_in' => 'clearance/sessions#new', :as => 'sign_in'
match 'sign_out' => 'clearance/sessions#destroy', :via => :delete, :as => 'sign_out'
end
Jump to Line
Something went wrong with that request. Please try again.