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 DeleteImagePage
[Sone.git]
/
src
/
main
/
kotlin
/
net
/
pterodactylus
/
sone
/
web
/
pages
/
OptionsPage.kt
diff --git
a/src/main/kotlin/net/pterodactylus/sone/web/pages/OptionsPage.kt
b/src/main/kotlin/net/pterodactylus/sone/web/pages/OptionsPage.kt
index
7cf1bb3
..
5205457
100644
(file)
--- a/
src/main/kotlin/net/pterodactylus/sone/web/pages/OptionsPage.kt
+++ b/
src/main/kotlin/net/pterodactylus/sone/web/pages/OptionsPage.kt
@@
-15,7
+15,7
@@
import net.pterodactylus.util.template.TemplateContext
* This page lets the user edit the options of the Sone plugin.
*/
class OptionsPage(template: Template, webInterface: WebInterface):
* This page lets the user edit the options of the Sone plugin.
*/
class OptionsPage(template: Template, webInterface: WebInterface):
- SoneTemplatePage("options.html",
template, "Page.Options.Title", webInterface, false
) {
+ SoneTemplatePage("options.html",
webInterface, template, "Page.Options.Title"
) {
override fun handleRequest(freenetRequest: FreenetRequest, templateContext: TemplateContext) {
if (freenetRequest.isPOST) {
override fun handleRequest(freenetRequest: FreenetRequest, templateContext: TemplateContext) {
if (freenetRequest.isPOST) {