Displaying 1 result from an estimated 1 matches for "lists_path".
Did you mean:
list_path
2007 Feb 23
0
pass parameter to post method with link_to_remote
Hello,
I want to create an AJAX request URL which should create a new item
when clicked. I have been trying to do it in the following way
link_to("Add", :url => lists_path(:name => "test object"), :method =>
''post'')
But this fails because the parameter :name => "test object" is not
passed. What am I doing wrong, and how can I get the desired result?
Thanks.
Surendra
--~--~---------~--~----~------------~-------~--~---...