retour sur edit apres add pour l'ajout des sources
authordj3c1t <dj3c1t@free.fr>
Fri, 9 May 2014 15:53:43 +0000 (17:53 +0200)
committerdj3c1t <dj3c1t@free.fr>
Fri, 9 May 2014 15:53:43 +0000 (17:53 +0200)
app/controllers/users/albums.php
app/controllers/users/morceaux.php
app/controllers/users/pistes.php

index 5a2dd5d..64f7789 100644 (file)
             return;
           }
           $env->redirect(
-            $env->url("users/albums"),
+            $env->url("users/albums/edit", array("id" => $id_source)),
             "l'album a été ajouté"
           );
         }
index 092da62..11004d0 100644 (file)
             }
           }
           $env->redirect(
-            $env->url("users/morceaux"),
+            $env->url("users/morceaux/edit", array("id" => $id_source)),
             "le morceau a été ajouté"
           );
         }
index 60190de..7269cbb 100644 (file)
             }
           }
           $env->redirect(
-            $env->url("users/pistes"),
+            $env->url("users/pistes/edit", array("id" => $id_source)),
             "la piste a été ajoutée"
           );
         }