X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=blobdiff_plain;f=src%2Fmain%2Fkotlin%2Fnet%2Fpterodactylus%2Fsone%2Fweb%2Fpages%2FTrustPage.kt;h=9a4c02ff362c39c0adafd70761ea56614efe91ec;hp=1944f5c9100b53c43a3160d8acaba1c0426ccded;hb=b4d2d68b5ea4f4edc7337f380cfe078756678126;hpb=a76956e389fcfe6282ad4ca7156bbf76327bb0c0 diff --git a/src/main/kotlin/net/pterodactylus/sone/web/pages/TrustPage.kt b/src/main/kotlin/net/pterodactylus/sone/web/pages/TrustPage.kt index 1944f5c..9a4c02f 100644 --- a/src/main/kotlin/net/pterodactylus/sone/web/pages/TrustPage.kt +++ b/src/main/kotlin/net/pterodactylus/sone/web/pages/TrustPage.kt @@ -12,8 +12,9 @@ import javax.inject.* * Page that lets the user trust another Sone. This will assign a configurable * amount of trust to an identity. */ +@ToadletPath("trust.html") class TrustPage @Inject constructor(webInterface: WebInterface, loaders: Loaders, templateRenderer: TemplateRenderer) : - LoggedInPage("trust.html", "Page.Trust.Title", webInterface, loaders, templateRenderer) { + LoggedInPage("Page.Trust.Title", webInterface, loaders, templateRenderer) { override fun handleRequest(soneRequest: SoneRequest, currentSone: Sone, templateContext: TemplateContext) { if (soneRequest.isPOST) {