cakephp remove controller name from url
问题 i am working on a cakephp 2.x .. right now i have a function called forgetpassword and resetpassword in my userscontroller .. i am sending an email to a user.. i am sending a url like this ..this code is written in the forgetpassword function $url = Router::url( array('controller'=>'users','action'=>'resetpassword'), true ).'/'.$key.'#'.$hash; and i receive this url in my inbox like this https://www.myweb.com/resetpassword/y2273727372jhgdfjjd2434dff#23232323 when i click the url which is on