Hello,

This is typical problem in CakePHP routing

When I

Router::connect('/home/vasti/:action/*', 
array('plugin'=>'vastipatrak','controller' => 'vastipatraks'));
url /home/vasti/edit/4 works fine.

but 
url /home/vasti/ is not working which i expect to redirect to index page.

I am developing CMS and these routes i add dynamically in routes.php 
however when i add 
Router::connect('/home/vasti', array('plugin'=>'vastipatrak','controller' 
=> 'vastipatraks')); it works fine. but i need single line router:connect 
option.

Regards,

-- 
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.
Visit this group at http://groups.google.com/group/cake-php?hl=en-US.


Reply via email to