projects
/
Sone.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add test for DI constructability of SearchPage
[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
e792318
..
0567af2
100644
(file)
--- a/
src/main/kotlin/net/pterodactylus/sone/web/pages/UnlockSonePage.kt
+++ b/
src/main/kotlin/net/pterodactylus/sone/web/pages/UnlockSonePage.kt
@@
-11,7
+11,7
@@
import net.pterodactylus.util.template.TemplateContext
* This page lets the user unlock a [net.pterodactylus.sone.data.Sone] to allow its insertion.
*/
class UnlockSonePage(template: Template, webInterface: WebInterface):
* This page lets the user unlock a [net.pterodactylus.sone.data.Sone] to allow its insertion.
*/
class UnlockSonePage(template: Template, webInterface: WebInterface):
- SoneTemplatePage("unlockSone.html",
template, "Page.UnlockSone.Title", webInterface, false
) {
+ SoneTemplatePage("unlockSone.html",
webInterface, template, "Page.UnlockSone.Title"
) {
override fun handleRequest(freenetRequest: FreenetRequest, templateContext: TemplateContext) {
if (freenetRequest.isPOST) {
override fun handleRequest(freenetRequest: FreenetRequest, templateContext: TemplateContext) {
if (freenetRequest.isPOST) {