From: David ‘Bombe’ Roden Date: Fri, 15 Oct 2010 04:40:55 +0000 (+0200) Subject: Rename template. X-Git-Tag: 0.1-RC1~345 X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=commitdiff_plain;h=c22fef2c8f2507465a1aee661362adf90c7b48af Rename template. --- diff --git a/src/main/java/net/pterodactylus/sone/web/WebInterface.java b/src/main/java/net/pterodactylus/sone/web/WebInterface.java index a05cd31..96feb71 100644 --- a/src/main/java/net/pterodactylus/sone/web/WebInterface.java +++ b/src/main/java/net/pterodactylus/sone/web/WebInterface.java @@ -166,7 +166,7 @@ public class WebInterface extends AbstractService { Template viewSoneTemplate = templateFactory.createTemplate(createReader("/templates/viewSone.html")); viewSoneTemplate.set("formPassword", formPassword); - Template followSoneTemplate = templateFactory.createTemplate(createReader("/templates/addFriend.html")); + Template followSoneTemplate = templateFactory.createTemplate(createReader("/templates/followSone.html")); followSoneTemplate.set("formPassword", formPassword); Template deleteSoneTemplate = templateFactory.createTemplate(createReader("/templates/deleteSone.html")); diff --git a/src/main/resources/templates/addFriend.html b/src/main/resources/templates/addFriend.html deleted file mode 100644 index 1952790..0000000 --- a/src/main/resources/templates/addFriend.html +++ /dev/null @@ -1,3 +0,0 @@ -
- -
diff --git a/src/main/resources/templates/followSone.html b/src/main/resources/templates/followSone.html new file mode 100644 index 0000000..1952790 --- /dev/null +++ b/src/main/resources/templates/followSone.html @@ -0,0 +1,3 @@ +
+ +