Thank you very much Piotr! I'll give that a try tomorrow morning.
Cheers!

On Jul 16, 10:01 pm, Piotr Kilczuk <[email protected]> wrote:
> Hello,
>
> I highly dislike working with routes, but there are few points where
> it can break.
>
> 1. What is the difference between the two rules you supplied? Any
> chance that the 2nd route will be ever used?
>
> 2. I suppose you use Router::connect not $Route->connect, just a typo here...
>
> 3. As far as I understand your beforeFilter(), it WILL make a
> redirection loop every time, since always 1st route is used and for
> some reason if condition is never met.
>
> What I would suggest, is to make a action (no beforeFilter), which
> would dispatch the request to proper method depending on wheter the
> url argument is a valid user name, valid group name or neither
> ($this->cakeError probably).
>
> Hope this is any help to you.
>
> Regards,
> Piotr
--~--~---------~--~----~------------~-------~--~----~
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