How can I direct a visitor to a specific page.
What I have is:
posts/index (public)
posts/view/ (registered logged in members only)
I need to direct non-logged in visitors who try to view a post to be
directed to a page other than the $this->Auth->loginAction
In the posts_controller the only allowed action is index,
$this->Auth->allowedActions = array('index');
do I need to allow 'view' and in the view function check there for Auth
login credentials and allow / re-direct from there?
Thanks,
Dave
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---