Lets say i have 2 routes like:
/users - shows list of users
-/:id - shows detail of selected user
Given a url for the above route, the /users route needs to know the /:id param so it can show that users as 'selected' in its list.
How do i then get the /:id in the /users route?
Aucun commentaire:
Enregistrer un commentaire