In my app some URLs take the form
/department/:dep/employee/:emp/contacts
In my sidebar I show a list of all employees, each of which has a
That's supposed to work. The leading / makes it an absolute route, without it (or with ./), it becomes a relative route relative to the current route. You can also use ../ (or ../../ or more) to route relative to the parent or parents parent.
/
./
../
../../