Sha256: 8c8c9524b98165be3e358478c52d8b64c1865913c9bec1eacda24ba2ffa17187
Contents?: true
Size: 1.02 KB
Versions: 10
Compression:
Stored size: 1.02 KB
Contents
ActionController::Routing::Routes.draw do |map| map.resources :billing_informations, :controller => 'muck/billing_informations', :collection => { :cvv_info => :get } map.resources :orders, :controller => 'muck/orders' map.resources :cart_items, :controller => 'muck/cart_items' map.resource :cart, :controller => 'muck/carts' map.resources :subscriptions, :controller => 'muck/subscriptions', :member => { :receipt => :get, :confirm => :get, :confirm_unsubscribe => :get } # admin map.namespace :admin do |a| a.resources :users, :has_many => [:billing_informations, :orders, :subscriptions] a.resources :billing_informations, :controller => 'muck/billing_informations' a.resources :coupons, :controller => 'muck/coupons' a.resources :orders, :controller => 'muck/orders' a.resources :subscription_plans, :controller => 'muck/subscription_plans' a.resources :subscriptions, :controller => 'muck/subscriptions' end map.resources :users, :has_many => [:billing_informations, :orders, :subscriptions] end
Version data entries
10 entries across 10 versions & 1 rubygems