✨ Use @TemplatePath annotations on most pages
[Sone.git] / src / main / kotlin / net / pterodactylus / sone / web / pages / IndexPage.kt
index a6a5683..89cd359 100644 (file)
@@ -16,6 +16,7 @@ import javax.inject.Inject
  * of all friends of the current user.
  */
 @MenuName("Index")
+@TemplatePath("/templates/index.html")
 class IndexPage @Inject constructor(template: Template, webInterface: WebInterface, loaders: Loaders, templateRenderer: TemplateRenderer, private val postVisibilityFilter: PostVisibilityFilter) :
                LoggedInPage("index.html", template, "Page.Index.Title", webInterface, loaders, templateRenderer) {