projects
/
Sone.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
♻️ Use SoneRequest instead of FreenetRequest
[Sone.git]
/
src
/
main
/
kotlin
/
net
/
pterodactylus
/
sone
/
web
/
pages
/
SoneTemplatePage.kt
diff --git
a/src/main/kotlin/net/pterodactylus/sone/web/pages/SoneTemplatePage.kt
b/src/main/kotlin/net/pterodactylus/sone/web/pages/SoneTemplatePage.kt
index
1ff35a8
..
abc58f5
100644
(file)
--- a/
src/main/kotlin/net/pterodactylus/sone/web/pages/SoneTemplatePage.kt
+++ b/
src/main/kotlin/net/pterodactylus/sone/web/pages/SoneTemplatePage.kt
@@
-18,7
+18,7
@@
import java.net.URLEncoder
*/
open class SoneTemplatePage @JvmOverloads constructor(
path: String,
*/
open class SoneTemplatePage @JvmOverloads constructor(
path: String,
- pr
otected
val webInterface: WebInterface,
+ pr
ivate
val webInterface: WebInterface,
template: Template,
private val pageTitleKey: String? = null,
private val requiresLogin: Boolean = false,
template: Template,
private val pageTitleKey: String? = null,
private val requiresLogin: Boolean = false,
@@
-71,7
+71,7
@@
open class SoneTemplatePage @JvmOverloads constructor(
handleRequest(freenetRequest, templateContext)
}
handleRequest(freenetRequest, templateContext)
}
-
internal
open fun handleRequest(freenetRequest: FreenetRequest, templateContext: TemplateContext) {
+ open fun handleRequest(freenetRequest: FreenetRequest, templateContext: TemplateContext) {
handleRequest(freenetRequest.toSoneRequest(core, webInterface), templateContext)
}
handleRequest(freenetRequest.toSoneRequest(core, webInterface), templateContext)
}