mirror of
https://github.com/discourse/discourse-subscriptions.git
synced 2025-03-09 13:42:17 +00:00
initital template
This commit is contained in:
parent
aab03c102f
commit
96ca372b86
@ -4,3 +4,7 @@ export default {
|
||||
this.route('payments');
|
||||
}
|
||||
};
|
||||
|
||||
export default function() {
|
||||
this.route('stripe');
|
||||
};
|
||||
|
1
assets/javascripts/discourse/templates/stripe.hbs
Normal file
1
assets/javascripts/discourse/templates/stripe.hbs
Normal file
@ -0,0 +1 @@
|
||||
hello world
|
@ -1,4 +1,5 @@
|
||||
DiscourseDonations::Engine.routes.draw do
|
||||
resources :charges, only: [:create]
|
||||
get 'users/:username/payments' => 'payments#show'
|
||||
get 'stripe' => 'payments#show'
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user