Hi Monty/John,

I see 2 easy options:

1) Change the call
$this->redirect ($this->name."/"."methodName");

2) override the redirect method in your app_controller to (something
like):
function redirect($url, $status = null)
{
if (!strpos($url, '/'))
 {
        $url = $this->name.'/' . $url;
 }
 parent::redirect($url,$status);
}

But, for curiosity if nothing else, how come you donĀ“t want to include
the controller name in the redirect..?

Cheers

AD7six


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

Reply via email to