Routing 'pages/christmas_specials' should work.

On Jan 11, 4:00 pm, the_woodsman <[email protected]> wrote:
> Hi Bakers,
>
> I need to do a permanent redirect from one of my static pages, for
> example /pages/christmas_specials
>
> Normally I'd do this in my controller, but I can't because there's no
> christmas_specials action in the pages controller.
>
> I tried to keep the .ctp file and redirect at the top of it, but that
> seems to conflict with view caching.
>
> What's the best way to do this? Somewhere in the pages controller? Via
> routes? another method?
>
> Thanks in advance...
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" 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