diff options
Diffstat (limited to 'billing')
-rw-r--r-- | billing/app/controllers/customers_controller.rb (renamed from billing/app/controllers/customer_controller.rb) | 2 | ||||
-rw-r--r-- | billing/app/views/customers/_subscription.html.haml (renamed from billing/app/views/customer/_subscription.html.haml) | 0 | ||||
-rw-r--r-- | billing/app/views/customers/_transaction.html.haml (renamed from billing/app/views/customer/_transaction.html.haml) | 0 | ||||
-rw-r--r-- | billing/app/views/customers/confirm.html.haml (renamed from billing/app/views/customer/confirm.html.haml) | 0 | ||||
-rw-r--r-- | billing/app/views/customers/edit.html.haml (renamed from billing/app/views/customer/edit.html.haml) | 0 | ||||
-rw-r--r-- | billing/app/views/customers/new.html.haml (renamed from billing/app/views/customer/new.html.haml) | 0 | ||||
-rw-r--r-- | billing/app/views/customers/show.html.haml (renamed from billing/app/views/customer/show.html.haml) | 0 | ||||
-rw-r--r-- | billing/config/routes.rb | 2 |
8 files changed, 2 insertions, 2 deletions
diff --git a/billing/app/controllers/customer_controller.rb b/billing/app/controllers/customers_controller.rb index 556b607..e62472f 100644 --- a/billing/app/controllers/customer_controller.rb +++ b/billing/app/controllers/customers_controller.rb @@ -1,4 +1,4 @@ -class CustomerController < BillingBaseController +class CustomersController < BillingBaseController before_filter :authorize before_filter :fetch_customer_data, :only => [:show, :edit] diff --git a/billing/app/views/customer/_subscription.html.haml b/billing/app/views/customers/_subscription.html.haml index a57f6e9..a57f6e9 100644 --- a/billing/app/views/customer/_subscription.html.haml +++ b/billing/app/views/customers/_subscription.html.haml diff --git a/billing/app/views/customer/_transaction.html.haml b/billing/app/views/customers/_transaction.html.haml index 53483d9..53483d9 100644 --- a/billing/app/views/customer/_transaction.html.haml +++ b/billing/app/views/customers/_transaction.html.haml diff --git a/billing/app/views/customer/confirm.html.haml b/billing/app/views/customers/confirm.html.haml index cfe127e..cfe127e 100644 --- a/billing/app/views/customer/confirm.html.haml +++ b/billing/app/views/customers/confirm.html.haml diff --git a/billing/app/views/customer/edit.html.haml b/billing/app/views/customers/edit.html.haml index bea3211..bea3211 100644 --- a/billing/app/views/customer/edit.html.haml +++ b/billing/app/views/customers/edit.html.haml diff --git a/billing/app/views/customer/new.html.haml b/billing/app/views/customers/new.html.haml index 2ff8229..2ff8229 100644 --- a/billing/app/views/customer/new.html.haml +++ b/billing/app/views/customers/new.html.haml diff --git a/billing/app/views/customer/show.html.haml b/billing/app/views/customers/show.html.haml index 7416682..7416682 100644 --- a/billing/app/views/customer/show.html.haml +++ b/billing/app/views/customers/show.html.haml diff --git a/billing/config/routes.rb b/billing/config/routes.rb index 4f31fb7..1c7bb30 100644 --- a/billing/config/routes.rb +++ b/billing/config/routes.rb @@ -3,7 +3,7 @@ Rails.application.routes.draw do match 'payments/new' => 'payments#new', :as => :new_payment match 'payments/confirm' => 'payments#confirm', :as => :confirm_payment - resources :customer, :only => [:new, :edit, :show] + resources :customers, :only => [:new, :edit, :show] resources :credit_card_info, :only => [:edit] match 'customer/confirm' => 'customer#confirm', :as => :confirm_customer |