projects
/
Sone.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
♻️ Move first-start notification into handler
[Sone.git]
/
src
/
main
/
kotlin
/
net
/
pterodactylus
/
sone
/
web
/
pages
/
BookmarkPage.kt
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
1dc12e4
..
c03a299
100644
(file)
--- a/
src/main/kotlin/net/pterodactylus/sone/web/pages/BookmarkPage.kt
+++ b/
src/main/kotlin/net/pterodactylus/sone/web/pages/BookmarkPage.kt
@@
-21,7
+21,7
@@
class BookmarkPage @Inject constructor(webInterface: WebInterface, loaders: Load
soneRequest.core.getPost(postId)?.let {
soneRequest.core.bookmarkPost(it)
}
soneRequest.core.getPost(postId)?.let {
soneRequest.core.bookmarkPost(it)
}
-
throw RedirectException
(returnPage)
+
redirectTo
(returnPage)
}
}
}
}