summaryrefslogtreecommitdiff
path: root/billing/config/routes.rb
diff options
context:
space:
mode:
authorjessib <jessib@leap.se>2013-05-06 12:58:34 -0700
committerAzul <azul@leap.se>2013-07-17 10:47:13 +0200
commit62b32320f38627dad870c7b3157576c48674c42b (patch)
tree3f64557604995d84a1477b7e66f820baffd3ed59 /billing/config/routes.rb
parentfe0ac266a797523492fe3b2c750e7862f51b152f (diff)
Show single active subscription from user's page, with link to index showing all the user's subscriptions.
Diffstat (limited to 'billing/config/routes.rb')
-rw-r--r--billing/config/routes.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/billing/config/routes.rb b/billing/config/routes.rb
index 1c7bb30..9b29aef 100644
--- a/billing/config/routes.rb
+++ b/billing/config/routes.rb
@@ -2,6 +2,7 @@ Rails.application.routes.draw do
match 'payments/new' => 'payments#new', :as => :new_payment
match 'payments/confirm' => 'payments#confirm', :as => :confirm_payment
+ resources :payments, :only => [:index]
resources :customers, :only => [:new, :edit, :show]
resources :credit_card_info, :only => [:edit]