X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fkotlin%2Fnet%2Fpterodactylus%2Fsone%2Fweb%2Fpages%2FBookmarksPage.kt;h=3411164951ca4cfe9bc2d4734a4ff480fd82fff7;hb=43feab5f45f23d734b641fe433d528a9e0133eaa;hp=d13826389932889e1f3171de8fbd08a8c283f147;hpb=d4d31bed957e29d50bd313ab973a034eba5a07f3;p=Sone.git diff --git a/src/main/kotlin/net/pterodactylus/sone/web/pages/BookmarksPage.kt b/src/main/kotlin/net/pterodactylus/sone/web/pages/BookmarksPage.kt index d138263..3411164 100644 --- a/src/main/kotlin/net/pterodactylus/sone/web/pages/BookmarksPage.kt +++ b/src/main/kotlin/net/pterodactylus/sone/web/pages/BookmarksPage.kt @@ -6,11 +6,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 browse all his bookmarked posts. */ -class BookmarksPage(template: Template, webInterface: WebInterface) : +class BookmarksPage @Inject constructor(template: Template, webInterface: WebInterface) : SoneTemplatePage("bookmarks.html", webInterface, template, "Page.Bookmarks.Title") { override fun handleRequest(freenetRequest: FreenetRequest, templateContext: TemplateContext) {