I have this line of code:
Ok(views.html.main("Title",views.html.userShow(user)))
According to the debugger views.html.userShow(user) returns a Html object.
main2 starts with
@(title: String)(content: play.twirl.api.Html)
Now I get the error message:
too many arguments for method apply: (title: String)(content: play.twirl.api.Html)play.twirl.api.HtmlFormat.Appendable in object main2
What is wrong with this code?