I am working in the kppp. I have to rewrite the URL for all forms and links. And I have done server side verification through the model. But when a server side error occurs, rewriting the URL is not working
I have a URL for that form
router :: connect ( '[0-9]' / employer / editing-security details / ID: 'array (' Controller '= & gt;' fj_employers', 'verb' = & gt; 'editSecurityDetail', 'id' => [0-9] + '));
Then I can use this URL using the employer / edit- securitydetail / 1
when the server If a side error occurs then the URL changes
Use the following:
router :: connect '/ Fj_employers / editSecurityDetail /: id', array ('Administrator' = & gt; 'fj_employers',' action '=> EditSecurityDetail'), array ('id' => [0-9] * '));
This will fix the problem, actually the problem is writing correctly in the url.
Comments
Post a Comment