Displaying 1 result from an estimated 1 matches for "link_to_remote_fix".
2007 May 10
2
link_to_remote fix, should this be added to edge rails?
After looking at the link_to_remote tag for the first time, I found it
broke when javascript was disabled.
Below is one possible solution I found and would like to suggest that
this idea is promoted into rails.
#
# provide fix for link_to_remote tag when javascript is not enabled
def link_to_remote_fix(text, options)
link_to_remote text, options, :href => url_for( options[:url] )
end
any better suggestions on how this can be done?
cheers
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are sub...