fix broken paths

This commit is contained in:
Rimian Perkins 2019-12-16 14:10:25 +11:00
parent 38c444c489
commit 92f6569f9f
2 changed files with 4 additions and 5 deletions

View File

@ -42,7 +42,7 @@ After you have created a User Group and configured it correctly, you can move on
## Enter your configuration details
When you create an account with Stripe, you'll get a public and private key. These are entered in the Discourse Patrons admin so your subscriptions can integrate with Stripe. There are different keys for testing and production environments.
When you create an account with Stripe, you'll get a public and private key. These are entered in the Discourse Subscriptions admin so your subscriptions can integrate with Stripe. There are different keys for testing and production environments.
You can also toggle the Subscribe button on and off in case you want to hide the link while you're setting up.
@ -58,7 +58,7 @@ Test with these credit card numbers:
* 4111 1111 1111 1111
Visit `/s/subscribe` and enter a few test transactions.
Visit `/s` and enter a few test transactions.
## Warranty

View File

@ -19,11 +19,10 @@ DiscourseSubscriptions::Engine.routes.draw do
resources :customers, only: [:create]
resources :invoices, only: [:index]
resources :payments, only: [:create]
resources :patrons, only: [:index, :create]
resources :plans, only: [:index]
resources :products, only: [:index, :show]
resources :subscriptions, only: [:create]
get '/' => 'patrons#index'
get '/:id' => 'patrons#index'
get '/' => 'subscriptions#index'
get '/:id' => 'subscriptions#index'
end