Process Sone templates in their own method
[Sone.git] / src / main / java / net / pterodactylus / sone / web / EditAlbumPage.java
index f54f887..eb92c8d 100644 (file)
@@ -51,8 +51,7 @@ public class EditAlbumPage 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 {
                if (request.getMethod() == Method.POST) {
                        String albumId = request.getHttpRequest().getPartAsStringFailsafe("album", IdBuilder.ID_STRING_LENGTH);
                        Optional<Album> album = webInterface.getCore().getAlbum(albumId);