From 87dc4f9d11af4610f534d57d5e51fabca9bb328a Mon Sep 17 00:00:00 2001 From: jessib Date: Mon, 10 Jun 2013 10:25:37 -0700 Subject: Back to singular-customer controller, in hopes that would help some confusions. --- billing/config/routes.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'billing/config/routes.rb') 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] -- cgit v1.2.3