Can you show an example of how you expect the URL to look like in both
cases?
Enjoy,
   John

On Apr 15, 2:59 am, Joost <joostvanr...@gmail.com> wrote:
> 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 cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com 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