Module: InvisibleCaptcha::ViewHelpers
- Defined in:
- lib/invisible_captcha/view_helpers.rb
Instance Method Summary collapse
-
#invisible_captcha(honeypot = nil, scope = nil, options = {}) ⇒ String
Builds the honeypot html.
Instance Method Details
#invisible_captcha(honeypot = nil, scope = nil, options = {}) ⇒ String
Builds the honeypot html
8 9 10 11 |
# File 'lib/invisible_captcha/view_helpers.rb', line 8 def invisible_captcha(honeypot = nil, scope = nil, = {}) session[:invisible_captcha_timestamp] ||= Time.zone.now.iso8601 build_invisible_captcha(honeypot, scope, ) end |