projects
/
Sone.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
💄 Generalize rendering of histograms
[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
8829030
..
2c454e8
100644
(file)
--- a/
src/main/kotlin/net/pterodactylus/sone/web/pages/OptionsPage.kt
+++ b/
src/main/kotlin/net/pterodactylus/sone/web/pages/OptionsPage.kt
@@
-66,7
+66,7
@@
class OptionsPage @Inject constructor(webInterface: WebInterface, loaders: Loade
if (fieldsWithErrors.isEmpty()) {
soneRequest.core.touchConfiguration()
-
throw RedirectException
("options.html")
+
redirectTo
("options.html")
}
templateContext["fieldErrors"] = fieldsWithErrors
}