Sha256: c7a482f13cf6e063028cbd4807449c81c8256c321c3d6d6499005ec27673d350
Contents?: true
Size: 1.92 KB
Versions: 1
Compression:
Stored size: 1.92 KB
Contents
Kaui::Engine.routes.draw do resources :tag_definitions root :to => "home#index" resources :accounts, :only => [ :index, :show ] do member do get :payment_methods put :set_default_payment_method get :add_payment_method post :do_add_payment_method delete :delete_payment_method end end resources :account_timelines, :only => [ :index, :show ] do member do post :refunds, :as => "refunds" post :chargebacks, :as => "chargebacks" post :credits, :as => "credits" post :payments, :as => "payments" post :charges, :as => "charges" end end resources :chargebacks, :only => [ :show, :create, :new ] resources :credits, :only => [ :create, :new ] resources :charges, :only => [ :create, :new ] resources :external_payments, :only => [ :create, :new ] resources :payments, :only => [ :create, :new, :index, :show ] resources :payment_methods, :only => [ :show, :destroy ] resources :refunds, :only => [ :index, :show, :create, :new ] resources :invoices, :only => [ :index, :show ] do member do get :show_html end end resources :invoice_items, :only => [ :index, :show, :edit, :update ] resources :bundles, :only => [ :index, :show ] do member do put :do_transfer get :transfer end end resources :subscriptions do member do put :reinstate end end scope "/account_tags" do match "/" => "account_tags#show", :via => :get, :as => "account_tags" match "/edit" => "account_tags#edit", :via => :get, :as => "edit_account_tags" match "/edit" => "account_tags#update", :via => :post, :as => "update_account_tags" end scope "/bundle_tags" do match "/" => "bundle_tags#show", :via => :get, :as => "bundle_tags" match "/edit" => "bundle_tags#edit", :via => :get, :as => "edit_bundle_tags" match "/edit" => "bundle_tags#update", :via => :post, :as => "update_bundle_tags" end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
kaui-0.1.2 | config/routes.rb |