www.mysite.com/users/homepage/{user's login name}
-> www.mysite.com/{user's login name}
but I couldn't figure it out so I'm tesing with this first
www.mysite.com/users/homepage/{user's login name}
-> www.mysite.com/hp/{user's login name}
Router::connect('/hp/:id/', array( 'controller' => 'users', 'action'
=> 'homepage', ),
array('id'=>'[a-z]', )
);
then when I access, mysite.com/hp/{user's login name}, I'm getting a
missing controller error.
What I'm I doing wrong? I was expected to see the page with this URL.
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+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
No comments:
Post a Comment