Hrm, it seems to be working now that I changed :_method to
''_method''.
On Sep 21, 12:02 pm, "Christopher J. Bottaro"
<cjbott...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:> Hello,
>
> ActionController::Routing::Routes.draw do |map|
> map.resources :fs_store_entries
> end
>
> uri = make_uri
> uri.path = "/fs_store_entries/#{id}"
> response = Net::HTTP.post_form(uri, :_method =>
''delete'')
>
> Does not get routed to FsStoreEntriesController#destroy. Why not?
> Thanks for the help.
--~--~---------~--~----~------------~-------~--~----~
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
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---