Skip to content

Commit

Permalink
Fix Rubocop offenses
Browse files Browse the repository at this point in the history
  • Loading branch information
Juan Pablo Rinaldi committed Feb 3, 2017
1 parent d3b57d3 commit 64c574e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/recaptcha/client_helper.rb
Expand Up @@ -19,11 +19,10 @@ def build_html(options = {})

html = ""
html << %(<script src="#{script_url}" async defer></script>\n) if options.fetch(:script, true)
html

fallback_uri = "#{script_url.chomp('.js')}/fallback?k=#{site_key}"

return html, tag_attributes, fallback_uri
[html, tag_attributes, fallback_uri]
end

# Your public API can be specified in the +options+ hash or preferably
Expand Down

0 comments on commit 64c574e

Please sign in to comment.