# Resource routing isn't working

**URL:** <https://www.ruby-forum.com/t/resource-routing-isnt-working/115206>\
**Category:** Rails\
**Created:** [September 21, 2007, 7:03pm UTC](https://www.ruby-forum.com/t/resource-routing-isnt-working/115206 "2007-09-21T19:03:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Christopher\_JSBott](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/ee7513/32.png) [@Christopher\_JSBott](https://www.ruby-forum.com/u/Christopher_JSBott)\
**Post date:** [September 21, 2007, 7:03pm UTC](https://www.ruby-forum.com/t/resource-routing-isnt-working/115206/1 "2007-09-21T19:03:31Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Christopher\_JSBott](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/ee7513/32.png) [@Christopher\_JSBott](https://www.ruby-forum.com/u/Christopher_JSBott)\
**Post date:** [September 21, 2007, 7:57pm UTC](https://www.ruby-forum.com/t/resource-routing-isnt-working/115206/2 "2007-09-21T19:57:37Z")

</div>

Hrm, it seems to be working now that I changed :\_method to ‘\_method’.

On Sep 21, 12:02 pm, “Christopher J. Bottaro” [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)
