How can I have a route that gives me all the foo items and will also give me a particular one?
eg I want this:
this.resource('foos');//for all this.resource('foos', {path: ' foos/foo_id'}); // for one
Aucun commentaire:
Enregistrer un commentaire