Hi All, I am passing 'cid' in the url as: http://test.com:3000/test/do_test?cid=10
How can I stop the 'cid' from showing in the address bar?
Thanks in advance.
Hi All, I am passing 'cid' in the url as: http://test.com:3000/test/do_test?cid=10
How can I stop the 'cid' from showing in the address bar?
Thanks in advance.
Look at routes.rb in the config/ folder, there’s examples there. If you still don’t get it, look up routing in the API.
If you really don’t want the ID in there, don’t include it in url, but put a hidden field in a form and post it (although i really don’t see a point in doing so).
Get a book on rails and be enlightened
Best regards
Peter De Berdt