X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=blobdiff_plain;f=src%2Fmain%2Fkotlin%2Fnet%2Fpterodactylus%2Fsone%2Fweb%2Fpages%2FLoggedInPage.kt;h=ffe65d1a9b93ea83eafb6ffeb77dd9932f4c094a;hp=c88499e88855068df839b14a4e4b132c6dbda89e;hb=d63b7445567b65ffdbd50fa8f7ffbfea1304dff9;hpb=1715ce9da612dd959781e5e62135600b2876fdbf diff --git a/src/main/kotlin/net/pterodactylus/sone/web/pages/LoggedInPage.kt b/src/main/kotlin/net/pterodactylus/sone/web/pages/LoggedInPage.kt index c88499e..ffe65d1 100644 --- a/src/main/kotlin/net/pterodactylus/sone/web/pages/LoggedInPage.kt +++ b/src/main/kotlin/net/pterodactylus/sone/web/pages/LoggedInPage.kt @@ -10,7 +10,7 @@ import net.pterodactylus.util.template.TemplateContext * Base class for [SoneTemplatePage] implementations that require a logged in user. */ abstract class LoggedInPage(path: String, template: Template, pageTitleKey: String, webInterface: WebInterface) : - SoneTemplatePage(path, template, pageTitleKey, webInterface, true) { + SoneTemplatePage(path, webInterface, template, pageTitleKey, true) { final override fun handleRequest(freenetRequest: FreenetRequest, templateContext: TemplateContext) { handleRequest(freenetRequest, getCurrentSone(freenetRequest.toadletContext, false)!!, templateContext)