projects
/
Sone.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
🐛 Fix new-sone handler
[Sone.git]
/
src
/
main
/
kotlin
/
net
/
pterodactylus
/
sone
/
web
/
ajax
/
LockSoneAjaxPage.kt
diff --git
a/src/main/kotlin/net/pterodactylus/sone/web/ajax/LockSoneAjaxPage.kt
b/src/main/kotlin/net/pterodactylus/sone/web/ajax/LockSoneAjaxPage.kt
index
c11dd0c
..
c177041
100644
(file)
--- a/
src/main/kotlin/net/pterodactylus/sone/web/ajax/LockSoneAjaxPage.kt
+++ b/
src/main/kotlin/net/pterodactylus/sone/web/ajax/LockSoneAjaxPage.kt
@@
-2,14
+2,14
@@
package net.pterodactylus.sone.web.ajax
import net.pterodactylus.sone.utils.parameters
import net.pterodactylus.sone.web.WebInterface
import net.pterodactylus.sone.utils.parameters
import net.pterodactylus.sone.web.WebInterface
-import net.pterodactylus.sone.web.page.
FreenetRequest
+import net.pterodactylus.sone.web.page.
*
import javax.inject.Inject
/**
* Lets the user [lock][net.pterodactylus.sone.core.Core.lockSone] a [Sone][net.pterodactylus.sone.data.Sone].
*/
import javax.inject.Inject
/**
* Lets the user [lock][net.pterodactylus.sone.core.Core.lockSone] a [Sone][net.pterodactylus.sone.data.Sone].
*/
-class LockSoneAjaxPage @Inject constructor(webInterface: WebInterface) :
-
JsonPage("lockSone.ajax",
webInterface) {
+@ToadletPath("lockSone.ajax")
+
class LockSoneAjaxPage @Inject constructor(webInterface: WebInterface) : JsonPage(
webInterface) {
override val requiresLogin = false
override val requiresLogin = false