Change the route to something meaningful
This commit is contained in:
parent
b4d7ea3696
commit
8b21d44bc9
|
@ -1,3 +1,3 @@
|
|||
export default function() {
|
||||
this.route('dd');
|
||||
this.route('donate');
|
||||
};
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
<a href="/dd">
|
||||
<a href="/donate">
|
||||
{{i18n 'discourse_donations.nav_item'}}
|
||||
</a>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
DiscourseDonations::Engine.routes.draw do
|
||||
resources :charges, only: [:create]
|
||||
get 'users/:username/payments' => 'payments#show'
|
||||
get 'dd' => 'payments#show'
|
||||
get 'donate' => 'payments#show'
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue