REST with slash instead of semicolon without using edge

Is there a simple way to "monkey-patch" a Rails app to have RESTful URLs use "/" instead of ";" without having to use Edge Rails?

Thanks!

rake rails:freeze TAG=rel_1-2-3

cp vendor/rails/actionpack/lib/action_controller/resources.rb \ vendor/rails/actionpack/lib/action_controller/resources.rb.old

svn diff -r6419:HEAD \ vendor/rails/actionpack/lib/action_controller/resources.rb > \ my_home_made.patch

cd vendor/rails/actionpack/lib/action_controller/ && patch -p0 my_home_made.patch

Run rails tests to ensure the patch only modifies this part of the routes.

My $0.02,

Just declare a map.connect path for it in routes.rb before the map.resource line. You don't get the url-helper-goodness tho...

b

toulax@gmail.com wrote: