I am purposefully throwing errors to see results of bad / fictitious / url
manipulated requests and I see when a User is logged in and the action is
prefixed the error also gets prefixed.

 

[MissingActionException] Action ErrorsController::manage_error404() could
not be found.

 

I do not want to have errors for all 4 different routed prefixes, so how to
go about removing the prefix if exists and simply call the error404 /
error5xx or what not.

If the error is 404 then return error404() from error controller regardless
of the prefix or not.

 

Thanks,

 

Dave

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to