diff --git a/lib/rucaptcha/view_helpers.rb b/lib/rucaptcha/view_helpers.rb index d913c88..2ecbe36 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