projects
/
Sone.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
✅ Don’t run some tests in parallel
[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)
}
if (soneRequest.httpRequest.isPartSet("deleteSone")) {
soneRequest.core.deleteSone(currentSone)
}
-
throw RedirectException
("index.html")
+
redirectTo
("index.html")
}
}
}
}