-class CreatePostPage @Inject constructor(template: Template, webInterface: WebInterface):
- LoggedInPage("createPost.html", template, "Page.CreatePost.Title", webInterface) {
+@TemplatePath("/templates/createPost.html")
+class CreatePostPage @Inject constructor(webInterface: WebInterface, loaders: Loaders, templateRenderer: TemplateRenderer):
+ LoggedInPage("createPost.html", "Page.CreatePost.Title", webInterface, loaders, templateRenderer) {