Ha, I know you'll all say... ah, you're breaking MVC so let me explain
the situation in case anyone cares to have it. But if you don't, I'm just
looking for the best way to force a redirect from a behavior. Preferably
without having to edit any other file.
ie. maybe something like ...
Why do you need to go to this page?
You could always just use regular PHP:
header('Location: /url/');
exit();
On Dec 9, 6:22 pm, zuha rich...@razorit.com wrote:
Ha, I know you'll all say... ah, you're breaking MVC so let me explain
the situation in case anyone cares to have it. But if
wow i feel stupid now :) ah it was a long day
i'm redirecting so that the user gets feedback that there was no info found
and/or they were restricted from seeing it. thanks for helping me remember
cake was written in php :)
--
Our newest site for the community: CakePHP Video Tutorials