mirror of
https://github.com/discourse/discourse-subscriptions.git
synced 2025-07-31 02:03:26 +00:00
Show route
This commit is contained in:
parent
ac267fabaf
commit
a5dbe4f9bd
@ -1,4 +1,6 @@
|
||||
|
||||
export default function () {
|
||||
this.route('patrons');
|
||||
this.route('patrons', function() {
|
||||
this.route("show", { path: ":pid" });
|
||||
});
|
||||
}
|
||||
|
@ -2,4 +2,5 @@
|
||||
|
||||
Discourse::Application.routes.append do
|
||||
get '/patrons' => 'patrons#index'
|
||||
get '/patrons/:pid' => 'patrons#index'
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user