Can I execute that line of code
nav = request().path().toString()
inside of scala template like index.scala.html
I would like to have that code to check on witch side is user and to mark it on menu
using code like this in main.scala.html:
<li class="@("active".when(nav == "contact"))">
<a href="">Contacts</a>
</li>