This project is archived and is in readonly mode.
link_to_remote_if and link_to_remote_unless
Reported by Gumaro Melendez | June 30th, 2008 @ 09:15 AM | in 2.x
This patch simply adds the two new prototype helper methods link_to_remote_if and link_to_remote_unless. They work very much like link_to_if and link_to_unless in that they take the condition first and a block.
Comments and changes to this ticket
-
josh September 30th, 2008 @ 05:54 PM
- State changed from new to stale
-
Jason Gignac May 8th, 2010 @ 01:43 PM
-1 Maybe I'm wrong, but wouldn't it be just as easy to just use link_to_remote(params) if(condition)? This form seems to make the syntax a little needlessly complex?
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>