So here I am, developing my first web application using Cake. And what
a wonderful experience it has been so far :)

Now I'm wondering: I want my site root to be two different controllers/
actions. One for when no user is logged in and one for when someone
has provided valid login credentials.

I tried it with $this->LoadsysAuth->User('id') but that doesn't work.
I get an Undefined property: Dispatcher::$LoadsysAuth error.

Is there a way to actually do this? Can it be done from the routes.php
file or do i need to alter a controller somewhere? Only important
thing is that the url doesn't contain any parameters.

Thanks,

Joost

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

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

To unsubscribe, reply using "remove me" as the subject.

Reply via email to