From: David ‘Bombe’ Roden Date: Tue, 22 Mar 2011 19:44:28 +0000 (+0100) Subject: Create correct backlink for a Sone’s image browser. X-Git-Tag: beta-freefall-0.6.2-1~97 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=da49879f2d335afde8f913f13458a62692fa141c;p=Sone.git Create correct backlink for a Sone’s image browser. --- diff --git a/src/main/java/net/pterodactylus/sone/template/AlbumAccessor.java b/src/main/java/net/pterodactylus/sone/template/AlbumAccessor.java index 5042995..0eea231 100644 --- a/src/main/java/net/pterodactylus/sone/template/AlbumAccessor.java +++ b/src/main/java/net/pterodactylus/sone/template/AlbumAccessor.java @@ -49,7 +49,7 @@ public class AlbumAccessor extends ReflectionAccessor { backlinks.add(0, createLink("imageBrowser.html?album=" + album.getId(), album.getName())); currentAlbum = currentAlbum.getParent(); } - backlinks.add(0, createLink("viewSone.html?sone=" + album.getSone().getId(), SoneAccessor.getNiceName(album.getSone()))); + backlinks.add(0, createLink("imageBrowser.html?sone=" + album.getSone().getId(), SoneAccessor.getNiceName(album.getSone()))); return backlinks; } return super.get(templateContext, object, member);