projects
/
Sone.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
📄 Update copyright lines with correct filenames
[Sone.git]
/
src
/
main
/
kotlin
/
net
/
pterodactylus
/
sone
/
web
/
pages
/
UnfollowSonePage.kt
diff --git
a/src/main/kotlin/net/pterodactylus/sone/web/pages/UnfollowSonePage.kt
b/src/main/kotlin/net/pterodactylus/sone/web/pages/UnfollowSonePage.kt
index
36f9783
..
79fdef5
100644
(file)
--- a/
src/main/kotlin/net/pterodactylus/sone/web/pages/UnfollowSonePage.kt
+++ b/
src/main/kotlin/net/pterodactylus/sone/web/pages/UnfollowSonePage.kt
@@
-1,19
+1,19
@@
package net.pterodactylus.sone.web.pages
package net.pterodactylus.sone.web.pages
-import net.pterodactylus.sone.data.
Sone
+import net.pterodactylus.sone.data.
*
import net.pterodactylus.sone.main.*
import net.pterodactylus.sone.main.*
-import net.pterodactylus.sone.utils.isPOST
-import net.pterodactylus.sone.utils.parameters
-import net.pterodactylus.sone.web.WebInterface
+import net.pterodactylus.sone.utils.*
+import net.pterodactylus.sone.web.*
import net.pterodactylus.sone.web.page.*
import net.pterodactylus.sone.web.page.*
-import net.pterodactylus.util.template.
TemplateContext
-import javax.inject.
Inject
+import net.pterodactylus.util.template.
*
+import javax.inject.
*
/**
* This page lets the user unfollow another Sone.
*/
/**
* This page lets the user unfollow another Sone.
*/
+@ToadletPath("unfollowSone.html")
class UnfollowSonePage @Inject constructor(webInterface: WebInterface, loaders: Loaders, templateRenderer: TemplateRenderer) :
class UnfollowSonePage @Inject constructor(webInterface: WebInterface, loaders: Loaders, templateRenderer: TemplateRenderer) :
- LoggedInPage("
unfollowSone.html", "
Page.UnfollowSone.Title", webInterface, loaders, templateRenderer) {
+ LoggedInPage("Page.UnfollowSone.Title", webInterface, loaders, templateRenderer) {
override fun handleRequest(soneRequest: SoneRequest, currentSone: Sone, templateContext: TemplateContext) {
if (soneRequest.isPOST) {
override fun handleRequest(soneRequest: SoneRequest, currentSone: Sone, templateContext: TemplateContext) {
if (soneRequest.isPOST) {