X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Fnet%2Fpterodactylus%2Fsone%2Fweb%2FCreateSonePage.java;h=f97755607450440f80161f94a574b971c071cca6;hb=b29cf0908e6dfd2b55220a3a7e44200f2fe5b19e;hp=0174b7689afd0b6df25ea63ff1ff42efb0f5c11c;hpb=053ddb3ed40d5189f8c34c9b5260be8e49e37138;p=Sone.git diff --git a/src/main/java/net/pterodactylus/sone/web/CreateSonePage.java b/src/main/java/net/pterodactylus/sone/web/CreateSonePage.java index 0174b76..f977556 100644 --- a/src/main/java/net/pterodactylus/sone/web/CreateSonePage.java +++ b/src/main/java/net/pterodactylus/sone/web/CreateSonePage.java @@ -47,7 +47,7 @@ public class CreateSonePage extends SoneTemplatePage { * The Sone web interface */ public CreateSonePage(Template template, WebInterface webInterface) { - super("createSone.html", template, "Page.CreateSone.Title", webInterface); + super("createSone.html", template, "Page.CreateSone.Title", webInterface, false); } // @@ -71,7 +71,7 @@ public class CreateSonePage extends SoneTemplatePage { } try { /* create Sone. */ - Sone sone = webInterface.core().createSone(name, requestUri, insertUri); + Sone sone = webInterface.core().createSone(name, "Sone", requestUri, insertUri); /* log in the new Sone. */ setCurrentSone(request.getToadletContext(), sone);