✨ Use new template renderer
[Sone.git] / src / main / kotlin / net / pterodactylus / sone / web / pages / LogoutPage.kt
index bfab7c8..38ce74f 100644 (file)
@@ -13,8 +13,8 @@ import javax.inject.Inject
  * Logs a user out.
  */
 @MenuName("Logout")
-class LogoutPage @Inject constructor(template: Template, webInterface: WebInterface, loaders: Loaders):
-               LoggedInPage("logout.html", template, "Page.Logout.Title", webInterface, loaders) {
+class LogoutPage @Inject constructor(template: Template, webInterface: WebInterface, loaders: Loaders, templateRenderer: TemplateRenderer):
+               LoggedInPage("logout.html", template, "Page.Logout.Title", webInterface, loaders, templateRenderer) {
 
        override fun handleRequest(soneRequest: SoneRequest, currentSone: Sone, templateContext: TemplateContext) {
                setCurrentSone(soneRequest.toadletContext, null)