Merge pull request #58 from netqyq/master

fix: ru_captcha.root_url -> ru_captcha.root_path, to avoid generate a http url in  https application.
This commit is contained in:
Jason Lee authored and GitHub committed 2019-01-22 17:21:29 +08:00
commit 1d1742e2ed
1 file changed
+1 -1
+1 -1
View File
@@ -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