X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fkotlin%2Fnet%2Fpterodactylus%2Fsone%2Fweb%2Fpages%2FNewPage.kt;h=a7bd2face95541cdacd1d2184bd66341599870f0;hb=3db634e425d3482bcf00dfd82e4b0d46785d5959;hp=8b4218d2459105b8646377d622f3f2305aaafd92;hpb=cd72add62ab407336b471d4b7cda8e33dd2df5c6;p=Sone.git 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") {