diff --git a/lib/rucaptcha/view_helpers.rb b/lib/rucaptcha/view_helpers.rb index 7a5cec2..a979654 100644 --- a/lib/rucaptcha/view_helpers.rb +++ b/lib/rucaptcha/view_helpers.rb @@ -13,7 +13,7 @@ module RuCaptcha def rucaptcha_image_tag(opts = {}) opts[:class] = opts[:class] || 'rucaptcha-image' - image_tag(ru_captcha.root_url, opts) + image_tag(ru_captcha.root_path, opts) end end end