Rename template.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Fri, 15 Oct 2010 04:40:55 +0000 (06:40 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Fri, 15 Oct 2010 04:40:55 +0000 (06:40 +0200)
src/main/java/net/pterodactylus/sone/web/WebInterface.java
src/main/resources/templates/addFriend.html [deleted file]
src/main/resources/templates/followSone.html [new file with mode: 0644]

index a05cd31..96feb71 100644 (file)
@@ -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 (file)
index 1952790..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-<div id="sone">
-
-</div>
diff --git a/src/main/resources/templates/followSone.html b/src/main/resources/templates/followSone.html
new file mode 100644 (file)
index 0000000..1952790
--- /dev/null
@@ -0,0 +1,3 @@
+<div id="sone">
+
+</div>