PiRSquared17 / activescaffold

Automatically exported from code.google.com/p/activescaffold
MIT License
0 stars 0 forks source link

PUT method action links are sent as GETs #739

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create an action_link with :method => :put
2. Add a route to routes.rb that only accepts PUT methods
3. Open the page and click the link

What is the expected output? What do you see instead?
The link is sent as a GET instead of a POST

What version (or revision) of the product are you using?
Rails 2.3 branch

It seems that active_scaffold.js ignores PUT methods, so the attached patch
(on the rails-2.3 branch) adds handling for the the PUT method.

Original issue reported on code.google.com by boonedo...@gmail.com on 28 Mar 2010 at 2:40

Attachments:

GoogleCodeExporter commented 9 years ago
Fixed in b33b283

Original comment by sergio.c...@gmail.com on 29 Mar 2010 at 7:36