Use xxx_url to fix bad captcha URL for enabled case.
This commit is contained in:
parent
a2bce5fec4
commit
e7cc8091fb
|
@ -2,6 +2,7 @@
|
|||
-----
|
||||
|
||||
- `zh-TW` translate file fixed.
|
||||
- Use xxx_url to fix bad captcha URL for `config.action_controller.asset_host` enabled case.
|
||||
|
||||
0.1.2
|
||||
-----
|
||||
|
|
|
@ -78,3 +78,7 @@ describe 'sign up and login', type: :feature do
|
|||
end
|
||||
```
|
||||
|
||||
## TODO
|
||||
|
||||
- Use [rtesseract](https://github.com/dannnylo/rtesseract) to test OCR.
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
module RuCaptcha
|
||||
VERSION = '0.1.2'
|
||||
VERSION = '0.1.3'
|
||||
end
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@ module RuCaptcha
|
|||
|
||||
def rucaptcha_image_tag(opts = {})
|
||||
opts[:class] = opts[:class] || 'rucaptcha-image'
|
||||
image_tag(ru_captcha.root_path, opts)
|
||||
image_tag(ru_captcha.root_url, opts)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue