uses simple_captcha instead of recaptcha [#51]

This commit is contained in:
rgarcia
2015-08-10 20:24:56 +02:00
parent ee463f2ab1
commit 4839081ad2
29 changed files with 144 additions and 100 deletions

View File

@@ -1,12 +0,0 @@
module RecaptchaHelper
def recaptchable?(resource)
resource.new_record?
end
def recaptcha_keys?
Recaptcha.configuration.public_key.present? &&
Recaptcha.configuration.private_key.present?
end
end