X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=blobdiff_plain;f=src%2Fmain%2Fkotlin%2Fnet%2Fpterodactylus%2Fsone%2Fweb%2Fpages%2FDeleteReplyPage.kt;h=d524c0e02ccf7c8a3cc6da3aa17570619fb770d3;hp=29d8c817db840fbbaf119c188222b68e4f9babc9;hb=79b7e5bbbf68e66ccaf82f6cd4004f387f4e83fe;hpb=fa3a8a16c151025c498e4ee96d268813dccdb9ff diff --git a/src/main/kotlin/net/pterodactylus/sone/web/pages/DeleteReplyPage.kt b/src/main/kotlin/net/pterodactylus/sone/web/pages/DeleteReplyPage.kt index 29d8c81..d524c0e 100644 --- a/src/main/kotlin/net/pterodactylus/sone/web/pages/DeleteReplyPage.kt +++ b/src/main/kotlin/net/pterodactylus/sone/web/pages/DeleteReplyPage.kt @@ -6,11 +6,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 /** * This page lets the user delete a reply. */ -class DeleteReplyPage(template: Template, webInterface: WebInterface): +class DeleteReplyPage @Inject constructor(template: Template, webInterface: WebInterface): LoggedInPage("deleteReply.html", template, "Page.DeleteReply.Title", webInterface) { override fun handleRequest(freenetRequest: FreenetRequest, currentSone: Sone, templateContext: TemplateContext) {