X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=blobdiff_plain;f=src%2Fmain%2Fkotlin%2Fnet%2Fpterodactylus%2Fsone%2Fweb%2Fpages%2FBookmarkPage.kt;fp=src%2Fmain%2Fkotlin%2Fnet%2Fpterodactylus%2Fsone%2Fweb%2Fpages%2FBookmarkPage.kt;h=bcff177636a4c1f33aa7ccb3ed959e5a3f4e8ed9;hp=a5c82cdd188f60871ab8c40bf6a2b51f4841245b;hb=225725bbe986a38d085d2f7fd4563a7e3ee79dee;hpb=811b050899f1ac9e61d9cf724f67d59c8f7bac36 diff --git a/src/main/kotlin/net/pterodactylus/sone/web/pages/BookmarkPage.kt b/src/main/kotlin/net/pterodactylus/sone/web/pages/BookmarkPage.kt index a5c82cd..bcff177 100644 --- a/src/main/kotlin/net/pterodactylus/sone/web/pages/BookmarkPage.kt +++ b/src/main/kotlin/net/pterodactylus/sone/web/pages/BookmarkPage.kt @@ -5,11 +5,12 @@ import net.pterodactylus.sone.web.WebInterface import net.pterodactylus.sone.web.page.FreenetRequest import net.pterodactylus.util.template.Template import net.pterodactylus.util.template.TemplateContext +import javax.inject.Inject /** * Page that lets the user bookmark a post. */ -class BookmarkPage(template: Template, webInterface: WebInterface) +class BookmarkPage @Inject constructor(template: Template, webInterface: WebInterface) : SoneTemplatePage("bookmark.html", webInterface, template, "Page.Bookmark.Title") { override fun handleRequest(freenetRequest: FreenetRequest, templateContext: TemplateContext) {