Hi all,

The below link is not directing to media_files_list function but
directing to the show function.  Please help, i want to direct it to
media_files_list function.
In controller i declared...
def media_files_list

Please note: i want to use get-method as below.

<a onclick="new Ajax.Request('/media_files/media_files_list',
{asynchronous:true, evalScripts:true, method:'get',
onSuccess:function(request){handleData(request,"centernav")},
parameters:'module_id=MENU09041512&upload_list=true&page=2' +
'&authenticity_token=' +
encodeURIComponent('s5Tjz5cJJl28uR0OGMbALzbh8ktwLkL2+fVjPBruqmk=')});
return false;" href="#">2</a>
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to