Redirect back to itself after editing an artist.
[demoscenemusic.git] / src / main / java / net / pterodactylus / demoscenemusic / page / admin / EditArtistPage.java
index ba36ff7..09ba5be 100644 (file)
@@ -101,7 +101,7 @@ public class EditArtistPage extends AdminBasePage {
                                }
 
                                getCore().getDataManager().saveArtist(artist);
-                               throw new RedirectException("admin.artists");
+                               throw new RedirectException("admin.edit-artist?id=" + artist.getId());
                        }
                } catch (DatabaseException de1) {
                        throw new RuntimeException("Could not load artist.", de1);