I have the following url http://localhost:3000/user/index/1
, I would like to be able to get the last parameter. I tried with - var name = window.location.pathname;
putting in the .jade file and it did not work, but if it is possible to do a redirect with sending parameters like in .render()
.