Use traditional getter name.
[Sone.git] / src / main / java / net / pterodactylus / sone / web / ViewPostPage.java
index 3f3dadc..9bc28fa 100644 (file)
@@ -50,7 +50,7 @@ public class ViewPostPage extends SoneTemplatePage {
        protected void processTemplate(Request request, Template template) throws RedirectException {
                super.processTemplate(request, template);
                String postId = request.getHttpRequest().getParam("post");
-               Post post = webInterface.core().getPost(postId);
+               Post post = webInterface.getCore().getPost(postId);
                template.set("post", post);
        }