Sha256: e63470110eb106ce8c4f93ae441b2d16012f7957ee30cd3c95fb142946cde145

Contents?: true

Size: 1.11 KB

Versions: 4

Compression:

Stored size: 1.11 KB

Contents

ActionController::Routing::Routes.draw do |map|

  map.logout      '/logout',        
                      :controller => 'sessions',  
                      :action => 'destroy'
  map.login       '/login',         
                      :controller => 'sessions',  
                      :action => 'create'
  map.cart        '/cart/:account_id',  
                      :controller => 'carts', 
                      :action => 'order'
  map.order       '/order',  
                      :controller => 'carts', 
                      :action => 'order'
  map.customer    '/customer',  
                      :controller => 'carts', 
                      :action => 'customer'
  map.checkout    '/checkout',  
                      :controller => 'carts', 
                      :action => 'checkout'
  map.empty_cart  '/empty_cart',  
                      :controller => 'carts', 
                      :action => 'empty_cart'
                      
  map.resources   :products
  map.resources   :settings
                      
  map.connect     ':controller/:action/:id'
  map.connect     ':controller/:action/:id.:format'

end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
smukherjee-openbill-0.1.5 config/routes.rb
smukherjee-openbill-0.1.6 config/routes.rb
openbill-0.1.5 config/routes.rb
openbill-0.1.6 config/routes.rb