Fix #34 rucaptcha.root_url -> root_path, to avoid generate a http url in a https application.
This commit is contained in:
1 parent
ae8a30e819
commit
4ced53d87b
1 file changed
+1
-1
@@ -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
|
||||
Reference in new issue
Block a user