Hi Folks,

Sorry to ask more questions :)

So I gave a RJS a go, I have a simple countries 'index' which lists
countries and with alink to 'show' which shows detail.

It works fine when you go to

/countries/AD in a browser

However the same request via Ajax and RJS (I am checking the http
headers) which is a POST I get the error

ActionController::MethodNotAllowed (Only get, put, and delete requests
are allowed.)

So what do I need to do to get my routing working with RJS?

Thanks Again!
-- 
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