From da49879f2d335afde8f913f13458a62692fa141c Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Tue, 22 Mar 2011 20:44:28 +0100 Subject: [PATCH] =?utf8?q?Create=20correct=20backlink=20for=20a=20Sone?= =?utf8?q?=E2=80=99s=20image=20browser.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/main/java/net/pterodactylus/sone/template/AlbumAccessor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.7.4