-class NewPage(template: Template, webInterface: WebInterface):
- SoneTemplatePage("new.html", template, "Page.New.Title", webInterface, false) {
+@MenuName("New")
+class NewPage @Inject constructor( template: Template, webInterface: WebInterface, loaders: Loaders):
+ SoneTemplatePage("new.html", webInterface, loaders, template = template, pageTitleKey = "Page.New.Title") {