Show route
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user