projects
/
Sone.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
🎨 Replace nice name comparator with Kotlin version
[Sone.git]
/
src
/
main
/
kotlin
/
net
/
pterodactylus
/
sone
/
web
/
pages
/
DeleteSonePage.kt
diff --git
a/src/main/kotlin/net/pterodactylus/sone/web/pages/DeleteSonePage.kt
b/src/main/kotlin/net/pterodactylus/sone/web/pages/DeleteSonePage.kt
index
f65e378
..
3f99730
100644
(file)
--- a/
src/main/kotlin/net/pterodactylus/sone/web/pages/DeleteSonePage.kt
+++ b/
src/main/kotlin/net/pterodactylus/sone/web/pages/DeleteSonePage.kt
@@
-24,7
+24,7
@@
class DeleteSonePage @Inject constructor(webInterface: WebInterface, loaders: Lo
if (soneRequest.httpRequest.isPartSet("deleteSone")) {
soneRequest.core.deleteSone(currentSone)
}
-
throw RedirectException
("index.html")
+
redirectTo
("index.html")
}
}