Sha256: 1dc11df5099cdad1fba4ef3449d061ae6dd280de62eeea99308ca52af1941911
Contents?: true
Size: 308 Bytes
Versions: 1
Compression:
Stored size: 308 Bytes
Contents
require 'ruby-recaptcha' class ApplicationController include ReCaptcha::AppHelper private def save_if_not_spam(obj, params) (!visitor.is_anon? || validate_recap(params, obj.errors, :rcc_pub => current_site.d_recaptcha_pub, :rcc_priv => current_site.d_recaptcha_priv)) && obj.save end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
zena-0.15.0 | bricks/captcha/patch/application_controller.rb |