Sha256: 812fb34e3a48e26855c5c1061e3b6314360baf55b9f740eab4e1a7fbfa98caa9

Contents?: true

Size: 779 Bytes

Versions: 4

Compression:

Stored size: 779 Bytes

Contents

ActionController::Routing::Routes.draw do |map|
  # The priority is based upon order of creation: first created -> highest priority.
  
  # Sample of regular route:
  # map.connect 'products/:id', :controller => 'catalog', :action => 'view'
  # Keep in mind you can assign values other than :controller and :action

  map.login  'sign-in',  :controller => 'authentication', :action => 'login'
  map.logout 'sign-out', :controller => 'authentication', :action => 'logout'

  map.connect 'reset-forgotten-password/*email_address', :controller => 'authentication', :action => 'reset_password_via_token'

  map.root :controller => 'authentication', :action => 'index'

  # Default routes:
  map.connect ':controller/:action/:id.:format'
  map.connect ':controller/:action/:id'


end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
brisk-bills-0.8.2 config/routes.rb
brisk-bills-0.8.1 config/routes.rb
brisk-bills-0.7.0 config/routes.rb
brisk-bills-0.6.0 config/routes.rb