We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
def facebook_link_to should initialize html_options to a hash, not nil, to avoid nil error:
def facebox_link_to(name, options = {}, html_options = {}) link_to_function(name, "jQuery.facebox(function(){ jQuery.ajax({data:'authenticity_token=' + encodeURIComponent('#{options[:authenticity_token]}'), dataType:'script', type:'#{options[:method]}', url:'#{options[:url]}'})})", html_options) end
The text was updated successfully, but these errors were encountered:
Worked for me, thanks.
Sorry, something went wrong.
No branches or pull requests
def facebook_link_to should initialize html_options to a hash, not nil, to avoid nil error:
The text was updated successfully, but these errors were encountered: