app/helpers/argyle_helper.rb in argyle-0.1.0 vs app/helpers/argyle_helper.rb in argyle-0.2.0
- old
+ new
@@ -23,9 +23,10 @@
'product' => product,
'env' => env
}
data['webhook'] = options[:webhook] if options[:webhook]
data['token'] = options[:token] if options[:token]
+ data.merge!(options[:data]) if options[:data]
javascript_tag '', src: Argyle.configuration.plaid_src, data: data
end
end