This project is archived and is in readonly mode.

#4013 ✓resolved
Jeremy McAnally

link_to with :method doesn't work

Reported by Jeremy McAnally | February 20th, 2010 @ 10:41 PM

For some reason, the UJS stuff (when driven by Prototype at least) doesn't work when you try to do a link_to with a :method argument. It adds the proper HTML attribute, but it seems like rails.js isn't actually observing the right event or something. In any event, clicking the link causes a GET request no matter the method you've told it to give.

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

People watching this ticket

Pages