summaryrefslogtreecommitdiff
path: root/billing/config
diff options
context:
space:
mode:
Diffstat (limited to 'billing/config')
-rw-r--r--billing/config/routes.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/billing/config/routes.rb b/billing/config/routes.rb
index 9b29aef..1bb32df 100644
--- a/billing/config/routes.rb
+++ b/billing/config/routes.rb
@@ -4,10 +4,11 @@ Rails.application.routes.draw do
match 'payments/confirm' => 'payments#confirm', :as => :confirm_payment
resources :payments, :only => [:index]
- resources :customers, :only => [:new, :edit, :show]
+ resources :customer, :only => [:new, :edit]
resources :credit_card_info, :only => [:edit]
- match 'customer/confirm' => 'customer#confirm', :as => :confirm_customer
+ match 'customer/confirm/' => 'customer#confirm', :as => :confirm_customer
+ match 'customer/show/:id' => 'customer#show', :as => :show_customer
match 'credit_card_info/confirm' => 'credit_card_info#confirm', :as => :confirm_credit_card_info
resources :subscriptions, :only => [:new, :create, :index, :show, :update, :destroy]