projects
/
Sone.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
✨ Show client version in hover menu
[Sone.git]
/
src
/
main
/
kotlin
/
net
/
pterodactylus
/
sone
/
web
/
pages
/
UnlockSonePage.kt
diff --git
a/src/main/kotlin/net/pterodactylus/sone/web/pages/UnlockSonePage.kt
b/src/main/kotlin/net/pterodactylus/sone/web/pages/UnlockSonePage.kt
index
6ff2e7f
..
2c5735b
100644
(file)
--- a/
src/main/kotlin/net/pterodactylus/sone/web/pages/UnlockSonePage.kt
+++ b/
src/main/kotlin/net/pterodactylus/sone/web/pages/UnlockSonePage.kt
@@
-10,8
+10,9
@@
import javax.inject.*
/**
* This page lets the user unlock a [net.pterodactylus.sone.data.Sone] to allow its insertion.
*/
/**
* This page lets the user unlock a [net.pterodactylus.sone.data.Sone] to allow its insertion.
*/
+@ToadletPath("unlockSone.html")
class UnlockSonePage @Inject constructor(webInterface: WebInterface, loaders: Loaders, templateRenderer: TemplateRenderer) :
class UnlockSonePage @Inject constructor(webInterface: WebInterface, loaders: Loaders, templateRenderer: TemplateRenderer) :
- SoneTemplatePage(
"unlockSone.html",
webInterface, loaders, templateRenderer, pageTitleKey = "Page.UnlockSone.Title") {
+ SoneTemplatePage(webInterface, loaders, templateRenderer, pageTitleKey = "Page.UnlockSone.Title") {
override fun handleRequest(soneRequest: SoneRequest, templateContext: TemplateContext) {
if (soneRequest.isPOST) {
override fun handleRequest(soneRequest: SoneRequest, templateContext: TemplateContext) {
if (soneRequest.isPOST) {