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…
Reference in New Issue