No, but you can use reverse routing to get the URL for a controller. If the controller doesn't need do anything it can just be really simple like (this is for Play 2 Scala):
Action {
Ok(views.html.my.template)
}
Question
Is there a way to call a play framework view template in the a href tag? Something in the lines of:
<a href="my.template.scala.html">Click Here</a>
Solution
No, but you can use reverse routing to get the URL for a controller. If the controller doesn't need do anything it can just be really simple like (this is for Play 2 Scala):
Action {
Ok(views.html.my.template)
}