Also is defining that has parameters, so at least one parameter need to be 
sent to work this Router...

Solution is Custom Routing class, as friend said, OR rewrite this route.

Example: 
Router::connect('/home/vasti',array('plugin'=>'vastipatrak','controller'=>'vastipatraks','action'=>'index'));
 
Router::connect('/home/vasti/:action',array('plugin'=>'vastipatrak','controller'=>'vastipatraks'));
  
Router::connect('/home/vasti/:action/*',array('plugin'=>'vastipatrak','controller'=>'vastipatraks'));
  

Em quinta-feira, 9 de agosto de 2012 11h18min39s UTC-3, Rodrigo Rodrigues 
Moyle escreveu:
>
> There is not a option, if you define a route with /:action you are telling 
> CakePHP the :action param is required.
>
> Maybe you try make this route using a custom class.
>
> http://book.cakephp.org/2.0/en/development/routing.html#custom-route-classes
>

-- 
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