mod/recaptcha/set/all/recaptcha.rb in card-1.96.0 vs mod/recaptcha/set/all/recaptcha.rb in card-1.96.1
- old
+ new
@@ -1,6 +1,6 @@
format :html do
- def decko_variables
+ def decko_script_variables
super.merge "decko.recaptchaKey": Card.config.recaptcha_public_key
end
view :recaptcha_javascript_tag, tags: :unknown_ok do
javascript_include_tag "https://www.google.com/recaptcha/api.js", async: "", defer: ""