projects
/
Sone.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
🔀 Merge “feature/notification-handler” into “next”
[Sone.git]
/
src
/
main
/
kotlin
/
net
/
pterodactylus
/
sone
/
web
/
pages
/
CreateSonePage.kt
diff --git
a/src/main/kotlin/net/pterodactylus/sone/web/pages/CreateSonePage.kt
b/src/main/kotlin/net/pterodactylus/sone/web/pages/CreateSonePage.kt
index
b2056c2
..
0b690da
100644
(file)
--- a/
src/main/kotlin/net/pterodactylus/sone/web/pages/CreateSonePage.kt
+++ b/
src/main/kotlin/net/pterodactylus/sone/web/pages/CreateSonePage.kt
@@
-31,7
+31,7
@@
class CreateSonePage @Inject constructor(webInterface: WebInterface, loaders: Lo
logger.log(Level.SEVERE, "Could not create Sone for OwnIdentity: $ownIdentity")
}
setCurrentSone(soneRequest.toadletContext, sone)
-
throw RedirectException
("index.html")
+
redirectTo
("index.html")
}
templateContext["errorNoIdentity"] = true
}