X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=blobdiff_plain;f=src%2Fmain%2Fkotlin%2Fnet%2Fpterodactylus%2Fsone%2Fweb%2Fpages%2FCreateReplyPage.kt;fp=src%2Fmain%2Fkotlin%2Fnet%2Fpterodactylus%2Fsone%2Fweb%2Fpages%2FCreateReplyPage.kt;h=4ff949dc34e6ea74413806a12b8cd2885e4a6ce3;hp=bc6faa480f0c79f0bbbc1ced4069754f204d0cc8;hb=bc9739d6bf6fd28521aee8d94dd66f712cdc1079;hpb=c2802b8888fadadf7bc322739ec466762ac2cc4a diff --git a/src/main/kotlin/net/pterodactylus/sone/web/pages/CreateReplyPage.kt b/src/main/kotlin/net/pterodactylus/sone/web/pages/CreateReplyPage.kt index bc6faa4..4ff949d 100644 --- a/src/main/kotlin/net/pterodactylus/sone/web/pages/CreateReplyPage.kt +++ b/src/main/kotlin/net/pterodactylus/sone/web/pages/CreateReplyPage.kt @@ -7,11 +7,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 post a reply to a post. */ -class CreateReplyPage(template: Template, webInterface: WebInterface): +class CreateReplyPage @Inject constructor(template: Template, webInterface: WebInterface): LoggedInPage("createReply.html", template, "Page.CreateReply.Title", webInterface) { override fun handleRequest(freenetRequest: FreenetRequest, currentSone: Sone, templateContext: TemplateContext) {