Closed aesteve closed 9 years ago
Convention over configuration : usually templates are found by the methods name
HelloController.sayHello()
will try to send the view : views/hello/sayHello
=> maybe provide a simple render
method with no parameter ? Is it even possible ?
No convention over configuration for now.
Simply annotate the method as @View("my/template/view.hbs")
and voila.
Tests :