code obtener_provincias public function () {
if ($ this-> RequestHandler-> isAjax ()) { $ this-> set ('provinces', $ this-> City-> Province-> find (' list', array ('Conditions' => array ('province.country_id' => $ this-> params [' url'] ['country ']) 'recursive' => -1))); } } I work on making the request add http://localhost/ubicaciones/cities/obtener_provincias?countryId=1 but in edit, it makes my request http://localhost/ubicaciones/cities/edit/obtener_provincias?countryId=1 not working to take the path and not find obtener_provincias edit (). Do not understand why since from changing the route edit -- 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 cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php