X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fkotlin%2Fnet%2Fpterodactylus%2Fsone%2Fweb%2FBookmarkPage.kt;h=47b0d04743db68015e20b28d40c3304fbe103b79;hb=b0e986537b3c2a4992bb28eee8682d1a0207b01a;hp=92279718b193ca5911b6831cab5f391cbea87cda;hpb=7e0b2b0e1af1aa27110849f41c742c9b61e3f446;p=Sone.git diff --git a/src/main/kotlin/net/pterodactylus/sone/web/BookmarkPage.kt b/src/main/kotlin/net/pterodactylus/sone/web/BookmarkPage.kt index 9227971..47b0d04 100644 --- a/src/main/kotlin/net/pterodactylus/sone/web/BookmarkPage.kt +++ b/src/main/kotlin/net/pterodactylus/sone/web/BookmarkPage.kt @@ -10,8 +10,7 @@ import javax.inject.Singleton /** * Page that lets the user bookmark a post. */ -@Singleton -class BookmarkPage @Inject constructor(template: Template, webInterface: WebInterface) +class BookmarkPage(template: Template, webInterface: WebInterface) : SoneTemplatePage("bookmark.html", template, "Page.Bookmark.Title", webInterface) { override fun handleRequest(freenetRequest: FreenetRequest, templateContext: TemplateContext) {