X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=blobdiff_plain;f=src%2Fmain%2Fkotlin%2Fnet%2Fpterodactylus%2Fsone%2Fweb%2Fpages%2FCreatePostPage.kt;fp=src%2Fmain%2Fkotlin%2Fnet%2Fpterodactylus%2Fsone%2Fweb%2Fpages%2FCreatePostPage.kt;h=f03b198b60c202ba6bc6b6ce3c14402c005f6c07;hp=73e9253efb89319b1877d643f908ca5f54dc3b65;hb=c389ee8f5e6eacae70438c3f364e8674c09d1959;hpb=3492fada878049f5381d8221e73562d6d020200d diff --git a/src/main/kotlin/net/pterodactylus/sone/web/pages/CreatePostPage.kt b/src/main/kotlin/net/pterodactylus/sone/web/pages/CreatePostPage.kt index 73e9253..f03b198 100644 --- a/src/main/kotlin/net/pterodactylus/sone/web/pages/CreatePostPage.kt +++ b/src/main/kotlin/net/pterodactylus/sone/web/pages/CreatePostPage.kt @@ -13,6 +13,7 @@ import javax.inject.* * This page lets the user create a new [Post]. */ @TemplatePath("/templates/createPost.html") +@ToadletPath("createPost.html") class CreatePostPage @Inject constructor(webInterface: WebInterface, loaders: Loaders, templateRenderer: TemplateRenderer) : LoggedInPage("createPost.html", "Page.CreatePost.Title", webInterface, loaders, templateRenderer) {