Change the route to something meaningful

This commit is contained in:
Rimian Perkins 2017-05-18 14:57:27 +10:00
parent b4d7ea3696
commit 8b21d44bc9
4 changed files with 3 additions and 3 deletions

View File

@ -1,3 +1,3 @@
export default function() { export default function() {
this.route('dd'); this.route('donate');
}; };

View File

@ -1,3 +1,3 @@
<a href="/dd"> <a href="/donate">
{{i18n 'discourse_donations.nav_item'}} {{i18n 'discourse_donations.nav_item'}}
</a> </a>

View File

@ -1,5 +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 'dd' => 'payments#show' get 'donate' => 'payments#show'
end end