Move all AJAX handlers to the same directory as the HTML handlers.
[Sone.git] / src / main / java / net / pterodactylus / sone / web / ajax / GetPostAjaxPage.java
index 452fc5a..764c5bf 100644 (file)
@@ -46,7 +46,7 @@ public class GetPostAjaxPage extends JsonPage {
         *            The template to render for posts
         */
        public GetPostAjaxPage(WebInterface webInterface, Template postTemplate) {
-               super("ajax/getPost.ajax", webInterface);
+               super("getPost.ajax", webInterface);
                this.postTemplate = postTemplate;
        }