Reputation: 48500
I am looking at a Play Framework 2 view that starts with the following declarations:
@()
@main("Product Form")
I understand the call @main("Product Form") is passing a String object to the main template. What's with the @()
call though? Is it required to declare that if the template is not receiving any arguments from its caller?
Upvotes: 0
Views: 107