From 69b5fccb90c944c797f5c2a5824eeffa8dc3d4ae Mon Sep 17 00:00:00 2001 From: dj3c1t Date: Fri, 9 May 2014 17:53:43 +0200 Subject: [PATCH] retour sur edit apres add pour l'ajout des sources --- app/controllers/users/albums.php | 2 +- app/controllers/users/morceaux.php | 2 +- app/controllers/users/pistes.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/controllers/users/albums.php b/app/controllers/users/albums.php index 5a2dd5d..64f7789 100644 --- a/app/controllers/users/albums.php +++ b/app/controllers/users/albums.php @@ -150,7 +150,7 @@ return; } $env->redirect( - $env->url("users/albums"), + $env->url("users/albums/edit", array("id" => $id_source)), "l'album a été ajouté" ); } diff --git a/app/controllers/users/morceaux.php b/app/controllers/users/morceaux.php index 092da62..11004d0 100644 --- a/app/controllers/users/morceaux.php +++ b/app/controllers/users/morceaux.php @@ -261,7 +261,7 @@ } } $env->redirect( - $env->url("users/morceaux"), + $env->url("users/morceaux/edit", array("id" => $id_source)), "le morceau a été ajouté" ); } diff --git a/app/controllers/users/pistes.php b/app/controllers/users/pistes.php index 60190de..7269cbb 100644 --- a/app/controllers/users/pistes.php +++ b/app/controllers/users/pistes.php @@ -267,7 +267,7 @@ } } $env->redirect( - $env->url("users/pistes"), + $env->url("users/pistes/edit", array("id" => $id_source)), "la piste a été ajoutée" ); } -- 2.1.4