Currently, I have a route that looks like "abc.com/name?age=4". How do I configure my route, so that "abc.com/name" without the query param, "age=4", is still a valid page?
All my route file has right now is:
model(params) {
return this.store.queryRecord('name', params);
}
Aucun commentaire:
Enregistrer un commentaire