✨ Use @TemplatePath annotations on most pages
[Sone.git] / src / main / kotlin / net / pterodactylus / sone / web / pages / ViewPostPage.kt
index 1067698..941f040 100644 (file)
@@ -12,6 +12,7 @@ import javax.inject.*
 /**
  * This page lets the user view a post and all its replies.
  */
+@TemplatePath("/templates/viewPost.html")
 class ViewPostPage @Inject constructor(template: Template, webInterface: WebInterface, loaders: Loaders, templateRenderer: TemplateRenderer):
                SoneTemplatePage("viewPost.html", webInterface, loaders, template, templateRenderer, pageTitleKey = "Page.ViewPost.Title") {