CakePHP Redirect After post with Target URL -
i have written cakephp application , struggling next problem:
i created add together view plus corresponding controller function, after post creates additional note record in notes table linked master client record. after post redirecting controller "customer" action 'view'. after user had added note, cakephp shows client 'view' view including added record note. however, url in browser still .../notes/add/... creates farther routing problems: if user presses reload, expect see client view reloaded, show add together notes view.how can forcefulness redirect after post updated url?
i don't understand everythings (because of poor english), can utilize controller::redirect forcefulness redirect @ end of controller.
documentation
cakephp
No comments:
Post a Comment