I am following the SailsCasts and I would like to figure out how to set .ejs template from the class "active" in my navbar according to the link that I'm browsing.
I do not want to use the "title" of the page as well as imagined is quite weak. Nor do I want to use JavaScript on the client side. I would like the class "active" in the navbar Bootstrap was written directly on the server side depending on the page I'm visiting.
A parameter to be passed through the routes?