X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=blobdiff_plain;f=src%2Fmain%2Fkotlin%2Fnet%2Fpterodactylus%2Fsone%2Fweb%2Fpages%2FCreateSonePage.kt;h=27b5ad4e7157c2801fba7ecf6db5077e0d7e51a1;hp=2732aacb18c26f0b3ae5dd93f7ae5f42688489b5;hb=347a8c00eca14b2428b93b15ba4fabef79a88e2e;hpb=bc9739d6bf6fd28521aee8d94dd66f712cdc1079 diff --git a/src/main/kotlin/net/pterodactylus/sone/web/pages/CreateSonePage.kt b/src/main/kotlin/net/pterodactylus/sone/web/pages/CreateSonePage.kt index 2732aac..27b5ad4 100644 --- a/src/main/kotlin/net/pterodactylus/sone/web/pages/CreateSonePage.kt +++ b/src/main/kotlin/net/pterodactylus/sone/web/pages/CreateSonePage.kt @@ -9,11 +9,12 @@ import net.pterodactylus.util.template.Template import net.pterodactylus.util.template.TemplateContext import java.util.logging.Level import java.util.logging.Logger +import javax.inject.Inject /** * The “create Sone” page lets the user create a new Sone. */ -class CreateSonePage(template: Template, webInterface: WebInterface): +class CreateSonePage @Inject constructor(template: Template, webInterface: WebInterface): SoneTemplatePage("createSone.html", webInterface, template, "Page.CreateSone.Title") { private val logger = Logger.getLogger(CreateSonePage::class.java.name)