X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Fnet%2Fpterodactylus%2Fsone%2Fweb%2FViewSonePage.java;h=1ff248d5aa947a1021443503916e22b03fb58e9f;hb=1b1f5f1907fb307abd9f94cf3a1f9a2ee247c8d1;hp=ba69eed025f34c165d07784e89414a36aa0426d8;hpb=fb35fd7f5f4aa4e830f6767eefbc564e4254e017;p=Sone.git diff --git a/src/main/java/net/pterodactylus/sone/web/ViewSonePage.java b/src/main/java/net/pterodactylus/sone/web/ViewSonePage.java index ba69eed..1ff248d 100644 --- a/src/main/java/net/pterodactylus/sone/web/ViewSonePage.java +++ b/src/main/java/net/pterodactylus/sone/web/ViewSonePage.java @@ -36,7 +36,7 @@ public class ViewSonePage extends SoneTemplatePage { * The Sone web interface */ public ViewSonePage(Template template, WebInterface webInterface) { - super("viewSone.html", template, "Page.ViewSone.Title", webInterface); + super("viewSone.html", template, "Page.ViewSone.Title", webInterface, false); } // @@ -50,7 +50,7 @@ public class ViewSonePage extends SoneTemplatePage { protected void processTemplate(Request request, Template template) throws RedirectException { super.processTemplate(request, template); String soneId = request.getHttpRequest().getParam("sone"); - Sone sone = webInterface.core().getSone(soneId); + Sone sone = webInterface.getCore().getSone(soneId); template.set("sone", sone); }