X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=blobdiff_plain;f=src%2Fmain%2Fkotlin%2Fnet%2Fpterodactylus%2Fsone%2Fweb%2Fpages%2FNewPage.kt;h=a7bd2face95541cdacd1d2184bd66341599870f0;hp=8b4218d2459105b8646377d622f3f2305aaafd92;hb=685535f252f0114bd64646867a7f71238bba2d20;hpb=125dab18d4412f547334f4fa2b27e5f7676eec5c diff --git a/src/main/kotlin/net/pterodactylus/sone/web/pages/NewPage.kt b/src/main/kotlin/net/pterodactylus/sone/web/pages/NewPage.kt index 8b4218d..a7bd2fa 100644 --- a/src/main/kotlin/net/pterodactylus/sone/web/pages/NewPage.kt +++ b/src/main/kotlin/net/pterodactylus/sone/web/pages/NewPage.kt @@ -13,6 +13,7 @@ import javax.inject.Inject * Page that displays all new posts and replies. The posts are filtered using * [PostVisibilityFilter.isPostVisible(Sone, Post)] and sorted by time. */ +@MenuName("New") class NewPage @Inject constructor( template: Template, webInterface: WebInterface): SoneTemplatePage("new.html", webInterface, template, "Page.New.Title") {