Reputation: 3072
When I import a no-param template from file.scala.html and then call it, I get this rendered in the HTML for each call:
BaseScalaTemplate(play.twirl.api.HtmlFormat$@e942bf)
^ What is this?
Upvotes: 0
Views: 77
Reputation: 3072
I found the solution. In play templates, if you forget the "()" parenthesis, it returns the address of the template in memory.
Upvotes: 2