X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=blobdiff_plain;f=src%2Fmain%2Fkotlin%2Fnet%2Fpterodactylus%2Fsone%2Fweb%2Fajax%2FGetReplyAjaxPage.kt;h=119a622db2ef580c308d34a9b75b01594fe72701;hp=c6cfc2f0e37044dd221e874c82e17828cfd96d3f;hb=ea7ad5e87074576d17b7df74365a726bd95d7665;hpb=889119651988ace06a94568a661f29b87f1af99e diff --git a/src/main/kotlin/net/pterodactylus/sone/web/ajax/GetReplyAjaxPage.kt b/src/main/kotlin/net/pterodactylus/sone/web/ajax/GetReplyAjaxPage.kt index c6cfc2f..119a622 100644 --- a/src/main/kotlin/net/pterodactylus/sone/web/ajax/GetReplyAjaxPage.kt +++ b/src/main/kotlin/net/pterodactylus/sone/web/ajax/GetReplyAjaxPage.kt @@ -8,11 +8,13 @@ import net.pterodactylus.sone.utils.render import net.pterodactylus.sone.web.WebInterface import net.pterodactylus.sone.web.page.FreenetRequest import net.pterodactylus.util.template.Template +import javax.inject.Inject /** * This AJAX page returns the details of a reply. */ -class GetReplyAjaxPage(webInterface: WebInterface, private val template: Template) : LoggedInJsonPage("getReply.ajax", webInterface) { +class GetReplyAjaxPage @Inject constructor(webInterface: WebInterface, private val template: Template) : + LoggedInJsonPage("getReply.ajax", webInterface) { override val needsFormPassword = false