Replace delete sone page with Kotlin version
[Sone.git] / src / main / kotlin / net / pterodactylus / sone / web / BookmarkPage.kt
index 9227971..47b0d04 100644 (file)
@@ -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) {