X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=blobdiff_plain;f=src%2Fmain%2Fkotlin%2Fnet%2Fpterodactylus%2Fsone%2Fweb%2Fpages%2FDismissNotificationPage.kt;h=9f8eeb42594a897802559af36c58a0227ed96ada;hp=78cdb8396ebc96fe4c7b17cdcf278bf10a8fcc28;hb=d63b7445567b65ffdbd50fa8f7ffbfea1304dff9;hpb=1715ce9da612dd959781e5e62135600b2876fdbf diff --git a/src/main/kotlin/net/pterodactylus/sone/web/pages/DismissNotificationPage.kt b/src/main/kotlin/net/pterodactylus/sone/web/pages/DismissNotificationPage.kt index 78cdb83..9f8eeb4 100644 --- a/src/main/kotlin/net/pterodactylus/sone/web/pages/DismissNotificationPage.kt +++ b/src/main/kotlin/net/pterodactylus/sone/web/pages/DismissNotificationPage.kt @@ -9,7 +9,7 @@ import net.pterodactylus.util.template.TemplateContext * Page that lets the user dismiss a notification. */ class DismissNotificationPage(template: Template, webInterface: WebInterface): - SoneTemplatePage("dismissNotification.html", template, "Page.DismissNotification.Title", webInterface) { + SoneTemplatePage("dismissNotification.html", webInterface, template, "Page.DismissNotification.Title") { override fun handleRequest(freenetRequest: FreenetRequest, templateContext: TemplateContext) { val returnPage = freenetRequest.httpRequest.getPartAsStringFailsafe("returnPage", 256)