Module: SimpleCaptcha::ViewHelper
- Defined in:
- lib/simple_captcha_audio/view.rb
Instance Method Summary collapse
-
#__simple_captcha_options__ ⇒ Object
TODO: Devise some way to use super here..
- #simple_captcha_options(options = {}) ⇒ Object
Instance Method Details
#__simple_captcha_options__ ⇒ Object
TODO: Devise some way to use super here..
4 |
# File 'lib/simple_captcha_audio/view.rb', line 4 alias_method :__simple_captcha_options__, :simple_captcha_options |
#simple_captcha_options(options = {}) ⇒ Object
6 7 8 9 10 11 12 |
# File 'lib/simple_captcha_audio/view.rb', line 6 def ( = {}) key = simple_captcha_key([:object]) ().merge({ audio: simple_captcha_audio(key, ) }) end |