X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=blobdiff_plain;f=src%2Fmain%2Fkotlin%2Fnet%2Fpterodactylus%2Fsone%2Fweb%2Fpages%2FDistrustPage.kt;h=f2115e52bb14b8393a99e50e9fb662a9454465cb;hp=6a4fa8f7df34c043fce785ca5e8b978be4281f60;hb=b4d2d68b5ea4f4edc7337f380cfe078756678126;hpb=2e6be6f2fb6afede009dacc48b8e3318e30e5057 diff --git a/src/main/kotlin/net/pterodactylus/sone/web/pages/DistrustPage.kt b/src/main/kotlin/net/pterodactylus/sone/web/pages/DistrustPage.kt index 6a4fa8f..f2115e5 100644 --- a/src/main/kotlin/net/pterodactylus/sone/web/pages/DistrustPage.kt +++ b/src/main/kotlin/net/pterodactylus/sone/web/pages/DistrustPage.kt @@ -14,8 +14,9 @@ import javax.inject.* * * @see net.pterodactylus.sone.core.Core#distrustSone(Sone, Sone) */ +@ToadletPath("distrust.html") class DistrustPage @Inject constructor(webInterface: WebInterface, loaders: Loaders, templateRenderer: TemplateRenderer) : - LoggedInPage("distrust.html", "Page.Distrust.Title", webInterface, loaders, templateRenderer) { + LoggedInPage("Page.Distrust.Title", webInterface, loaders, templateRenderer) { override fun handleRequest(soneRequest: SoneRequest, currentSone: Sone, templateContext: TemplateContext) { if (soneRequest.isPOST) {