X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fkotlin%2Fnet%2Fpterodactylus%2Fsone%2Fweb%2Fpages%2FCreateReplyPage.kt;h=4ff949dc34e6ea74413806a12b8cd2885e4a6ce3;hb=9bb01bc8fe281e6748ebd744ade8945bee841213;hp=bc6faa480f0c79f0bbbc1ced4069754f204d0cc8;hpb=74cbe983cd38da24847e6247ac595cb70d8e115b;p=Sone.git 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) {