Sha256: 49b472f27131ec11954162536eb57ca6b3a4d87bc983cbdec38d79980b6ea3a0

Contents?: true

Size: 562 Bytes

Versions: 14

Compression:

Stored size: 562 Bytes

Contents

ActionController::Routing::Routes.draw do |map|
  map.resources :passwords,
    :controller => 'clearance/passwords',
    :only => [:new, :create]

  map.resource  :session,
    :controller => 'clearance/sessions',
    :only => [:new, :create, :destroy]

  map.resources :users, :controller => 'clearance/users' do |users|
    users.resource :password,
      :controller => 'clearance/passwords',
      :only => [:create, :edit, :update]

    users.resource :confirmation,
      :controller => 'clearance/confirmations',
      :only => [:new, :create]
  end
end

Version data entries

14 entries across 14 versions & 4 rubygems

Version Path
activerain-clearance-0.6.6 config/clearance_routes.rb
activerain-clearance-0.6.6001 config/clearance_routes.rb
activerain-clearance-0.6.6002 config/clearance_routes.rb
hui-clearance-0.6.6 config/clearance_routes.rb
thoughtbot-clearance-0.6.0 config/clearance_routes.rb
thoughtbot-clearance-0.6.1 config/clearance_routes.rb
thoughtbot-clearance-0.6.2 config/clearance_routes.rb
thoughtbot-clearance-0.6.3 config/clearance_routes.rb
thoughtbot-clearance-0.6.4 config/clearance_routes.rb
thoughtbot-clearance-0.6.5 config/clearance_routes.rb
thoughtbot-clearance-0.6.6 config/clearance_routes.rb
vita-clearance-0.6.2 config/clearance_routes.rb
vita-clearance-0.6.3.1 config/clearance_routes.rb
vita-clearance-0.6.3 config/clearance_routes.rb