projects
/
Sone.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
📄 Update filenames in file headers
[Sone.git]
/
src
/
main
/
kotlin
/
net
/
pterodactylus
/
sone
/
web
/
pages
/
FollowSonePage.kt
diff --git
a/src/main/kotlin/net/pterodactylus/sone/web/pages/FollowSonePage.kt
b/src/main/kotlin/net/pterodactylus/sone/web/pages/FollowSonePage.kt
index
244cb52
..
5fd06ce
100644
(file)
--- a/
src/main/kotlin/net/pterodactylus/sone/web/pages/FollowSonePage.kt
+++ b/
src/main/kotlin/net/pterodactylus/sone/web/pages/FollowSonePage.kt
@@
-24,7
+24,7
@@
class FollowSonePage @Inject constructor(webInterface: WebInterface, loaders: Lo
soneRequest.core.followSone(currentSone, sone.first)
soneRequest.core.markSoneKnown(sone.second)
}
soneRequest.core.followSone(currentSone, sone.first)
soneRequest.core.markSoneKnown(sone.second)
}
-
throw RedirectException
(soneRequest.httpRequest.getPartAsStringFailsafe("returnPage", 256))
+
redirectTo
(soneRequest.httpRequest.getPartAsStringFailsafe("returnPage", 256))
}
}
}
}