X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=blobdiff_plain;f=src%2Fmain%2Fkotlin%2Fnet%2Fpterodactylus%2Fsone%2Fweb%2Fpages%2FUnbookmarkPage.kt;h=58cd0d8ac141abd104535eff52eda125aa967da7;hp=ec4242b66fadeb87b13cee9d76da794883254ac7;hb=c79dac94aa3acd323909b20a968328b6789d6875;hpb=876c02e46d6c1f364bf824a8e3c9268b14845881 diff --git a/src/main/kotlin/net/pterodactylus/sone/web/pages/UnbookmarkPage.kt b/src/main/kotlin/net/pterodactylus/sone/web/pages/UnbookmarkPage.kt index ec4242b..58cd0d8 100644 --- a/src/main/kotlin/net/pterodactylus/sone/web/pages/UnbookmarkPage.kt +++ b/src/main/kotlin/net/pterodactylus/sone/web/pages/UnbookmarkPage.kt @@ -9,11 +9,12 @@ import net.pterodactylus.sone.web.WebInterface import net.pterodactylus.sone.web.page.FreenetRequest import net.pterodactylus.util.template.Template import net.pterodactylus.util.template.TemplateContext +import javax.inject.Inject /** * Page that lets the user unbookmark a post. */ -class UnbookmarkPage(template: Template, webInterface: WebInterface): +class UnbookmarkPage @Inject constructor(template: Template, webInterface: WebInterface): SoneTemplatePage("unbookmark.html", webInterface, template, "Page.Unbookmark.Title") { override fun handleRequest(freenetRequest: FreenetRequest, templateContext: TemplateContext) {