🔥 Remove path from FreenetTemplatePage
[Sone.git] / src / main / kotlin / net / pterodactylus / sone / web / pages / UnlikePage.kt
index 80c475e..82147a9 100644 (file)
@@ -11,8 +11,9 @@ import javax.inject.*
 /**
  * Page that lets the user unlike a [net.pterodactylus.sone.data.Post] or [net.pterodactylus.sone.data.Reply].
  */
+@ToadletPath("unlike.html")
 class UnlikePage @Inject constructor(webInterface: WebInterface, loaders: Loaders, templateRenderer: TemplateRenderer) :
-               LoggedInPage("unlike.html", "Page.Unlike.Title", webInterface, loaders, templateRenderer) {
+               LoggedInPage("Page.Unlike.Title", webInterface, loaders, templateRenderer) {
 
        override fun handleRequest(soneRequest: SoneRequest, currentSone: Sone, templateContext: TemplateContext) {
                if (soneRequest.isPOST) {