If i code in a controller (generated by bake)

        function delete($id)
        {
                if ($this->Livre->del($id))
                {
                        $this->flash('The Livre with id: '.$id.' has been 
deleted.', '/
livres');
                }
        }

The flash function shows the message but don't redirects the user to
the specified url '/livres'.

Do you have any idea of my mistake ?

NB : the function $this->render('index') work .


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to