Sha256: 51c9e2a441811572b9923a1250e33c67ad7b59af379e2ef6733f37a7fa3c33c6
Contents?: true
Size: 968 Bytes
Versions: 1
Compression:
Stored size: 968 Bytes
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' # 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
muck-commerce-0.1.8 | config/muck_commerce_routes.rb |