summaryrefslogtreecommitdiff
path: root/billing/config
diff options
context:
space:
mode:
authorjessib <jessib@leap.se>2013-03-26 12:53:35 -0700
committerAzul <azul@leap.se>2013-07-17 10:47:12 +0200
commit3420d624916eb31396af2adca6562e38173c689d (patch)
treec38635d55b5b1a293e91e5784ed6127ea27c3b11 /billing/config
parent4a334ce6f6163c2bfa11f3e2146b9d0b765b6d7b (diff)
More working subscriptions.
Diffstat (limited to 'billing/config')
-rw-r--r--billing/config/routes.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/billing/config/routes.rb b/billing/config/routes.rb
index aa436ba..b5ccf6e 100644
--- a/billing/config/routes.rb
+++ b/billing/config/routes.rb
@@ -9,8 +9,7 @@ Rails.application.routes.draw do
match 'customer/confirm' => 'customer#confirm', :as => :confirm_customer
match 'credit_card_info/confirm' => 'credit_card_info#confirm', :as => :confirm_credit_card_info
- match 'subscription/new' => 'subscription#new', :as => :new_subscription
- match 'subscription/confirm' => 'subscription#confirm', :as => :confirm_subscription
+ resources :subscriptions, :only => [:new, :create, :index, :show, :update, :destroy]
#match 'transactions/:product_id/new' => 'transactions#new', :as => :new_transaction
#match 'transactions/confirm/:product_id' => 'transactions#confirm', :as => :confirm_transaction