Process Sone templates in their own method
[Sone.git] / src / main / java / net / pterodactylus / sone / web / ImageBrowserPage.java
index 36805b3..5674ee8 100644 (file)
@@ -65,8 +65,7 @@ public class ImageBrowserPage extends SoneTemplatePage {
         * {@inheritDoc}
         */
        @Override
-       protected void processTemplate(FreenetRequest request, TemplateContext templateContext) throws RedirectException {
-               super.processTemplate(request, templateContext);
+       protected void processSonePage(FreenetRequest request, TemplateContext templateContext) throws RedirectException {
                String albumId = request.getHttpRequest().getParam("album", null);
                if (albumId != null) {
                        Optional<Album> album = webInterface.getCore().getAlbum(albumId);