X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=blobdiff_plain;f=src%2Fmain%2Fkotlin%2Fnet%2Fpterodactylus%2Fsone%2Fweb%2Fpages%2FMarkAsKnownPage.kt;fp=src%2Fmain%2Fkotlin%2Fnet%2Fpterodactylus%2Fsone%2Fweb%2Fpages%2FMarkAsKnownPage.kt;h=b1e100f88bbede7931c4d23cbb5518e59813a4dd;hp=da609a60a4836627c881e1662e7cbdf4c2c94fb5;hb=f69dc554a50546c429c5e43c28c061a4e4dd45c3;hpb=c4512262c3347e76a92e9273faabc20f8320101c diff --git a/src/main/kotlin/net/pterodactylus/sone/web/pages/MarkAsKnownPage.kt b/src/main/kotlin/net/pterodactylus/sone/web/pages/MarkAsKnownPage.kt index da609a6..b1e100f 100644 --- a/src/main/kotlin/net/pterodactylus/sone/web/pages/MarkAsKnownPage.kt +++ b/src/main/kotlin/net/pterodactylus/sone/web/pages/MarkAsKnownPage.kt @@ -7,12 +7,13 @@ 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 mark a number of [net.pterodactylus.sone.data.Sone]s, [Post]s, or * [Replie][net.pterodactylus.sone.data.Reply]s as known. */ -class MarkAsKnownPage(template: Template, webInterface: WebInterface): +class MarkAsKnownPage @Inject constructor(template: Template, webInterface: WebInterface): SoneTemplatePage("markAsKnown.html", webInterface, template, "Page.MarkAsKnown.Title") { override fun handleRequest(freenetRequest: FreenetRequest, templateContext: TemplateContext) {