English and literary skills are not what I am grappling with. It is
understanding why it is trying to direct me to the delete view. The
entire message is as I typed - it is being presented in an error view
so there is no more for me to read.

I have removed the delete function from my controllers and added it to
my app_controller:

function delete($id) {
        if ($this->{$this->modelClass}->del($id)) {
                $this->Session->setFlash($this->modelClass . ' with id ' . $id .
'deleted');
        }

        $this->redirect($this->data[$this->modelClass]['referer'], null,
true);
}

Somewhere along the line it is trying to direct me to the delete view.
I'd appreciate some pointers, please.

On Nov 25, 12:25 pm, Fran Iglesias <cakephpi...@gmail.com> wrote:
> Hi,
>
> If you don't have a delete view (or don't want to have) I guess you  
> need to redirect to the index action after deleting.
>
> El 25/11/2009, a las 13:22, jburns escribió:
>
>
>
> > The delete view, I presume. The error message is as I typed it.

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to