X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=blobdiff_plain;f=src%2Fmain%2Fkotlin%2Fnet%2Fpterodactylus%2Fsone%2Fweb%2Fpages%2FViewSonePage.kt;h=ef0d3f5edb5f74864debc866ed7a52dfb9517b4b;hp=50b2dd790a50adce475a7f30c965d05c3cb03c6c;hb=4526c36c096204837d478ac3a74fd78660eb20f5;hpb=a0e1d37dac7c0dc7ca0317892f301e190fd3157c diff --git a/src/main/kotlin/net/pterodactylus/sone/web/pages/ViewSonePage.kt b/src/main/kotlin/net/pterodactylus/sone/web/pages/ViewSonePage.kt index 50b2dd7..ef0d3f5 100644 --- a/src/main/kotlin/net/pterodactylus/sone/web/pages/ViewSonePage.kt +++ b/src/main/kotlin/net/pterodactylus/sone/web/pages/ViewSonePage.kt @@ -11,11 +11,12 @@ import net.pterodactylus.sone.web.page.FreenetRequest import net.pterodactylus.util.template.Template import net.pterodactylus.util.template.TemplateContext import java.net.URI +import javax.inject.Inject /** * Lets the user browser another Sone. */ -class ViewSonePage(template: Template, webInterface: WebInterface): +class ViewSonePage @Inject constructor(template: Template, webInterface: WebInterface): SoneTemplatePage("viewSone.html", webInterface, template) { override fun handleRequest(freenetRequest: FreenetRequest, templateContext: TemplateContext) {