If this is not valid rule how can I do this in correct way?
W dniu poniedziałek, 9 lipca 2012 14:34:18 UTC+2 użytkownik Chris napisał:
>
> Hi!
> I want on my website create rule, when I access:
>
> address/username the default page with user is shown. I created:
> Router::connect('/*', array('controller' => 'users', 'action' => 'view'));
>
> But then I cannot link any other controllers or actions. I want other
> rule:
>
> address/username/profil to show user profile. I created second rule:
> Router::connect('/*/profil/*', array('controller' => 'users', 'action' =>
> 'profil'));
>
> It doesn't work.
>
> Can you help me?
>
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP related questions.
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at
http://groups.google.com/group/cake-php