lib/simple_captcha/view.rb in simple_captcha2-0.4.0 vs lib/simple_captcha/view.rb in simple_captcha2-0.4.2

- old
+ new

@@ -54,10 +54,10 @@ else # It's the first captcha in the page, we generate a new key options[:field_value] = set_simple_captcha_data(key, options) end - defaults = { + { :image => simple_captcha_image(key, options), :label => I18n.t('simple_captcha.label'), :field => simple_captcha_field(options), :refresh_button => simple_captcha_refresh_button(options), }.merge(options)