Clean up SoneTemplatePage’s constructors
[Sone.git] / src / main / kotlin / net / pterodactylus / sone / web / pages / ViewSonePage.kt
index 2e175af..50b2dd7 100644 (file)
@@ -16,7 +16,7 @@ import java.net.URI
  * Lets the user browser another Sone.
  */
 class ViewSonePage(template: Template, webInterface: WebInterface):
-               SoneTemplatePage("viewSone.html", template, webInterface, false) {
+               SoneTemplatePage("viewSone.html", webInterface, template) {
 
        override fun handleRequest(freenetRequest: FreenetRequest, templateContext: TemplateContext) {
                templateContext["soneId"] = freenetRequest.parameters["sone"]