mirror of
https://github.com/discourse/discourse-subscriptions.git
synced 2025-02-27 14:29:39 +00:00
initital template
This commit is contained in:
parent
aab03c102f
commit
96ca372b86
@ -4,3 +4,7 @@ export default {
|
|||||||
this.route('payments');
|
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
|
DiscourseDonations::Engine.routes.draw do
|
||||||
resources :charges, only: [:create]
|
resources :charges, only: [:create]
|
||||||
get 'users/:username/payments' => 'payments#show'
|
get 'users/:username/payments' => 'payments#show'
|
||||||
|
get 'stripe' => 'payments#show'
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user