1
0
mirror of synced 2026-08-04 22:26:56 +00:00

Show route

This commit is contained in:
Rimian Perkins
2019-09-11 17:38:55 +10:00
parent ac267fabaf
commit a5dbe4f9bd
2 changed files with 4 additions and 1 deletions
@@ -1,4 +1,6 @@
export default function () {
this.route('patrons');
this.route('patrons', function() {
this.route("show", { path: ":pid" });
});
}
+1
View File
@@ -2,4 +2,5 @@
Discourse::Application.routes.append do
get '/patrons' => 'patrons#index'
get '/patrons/:pid' => 'patrons#index'
end