From 4f8408fdd0b513bfe29189642b8c8006d71fbe11 Mon Sep 17 00:00:00 2001 From: jywarren Date: Fri, 12 Jan 2018 12:41:51 -0500 Subject: [PATCH] fixes --- config/initializers/recaptcha.rb | 10 ---------- config/initializers/recaptcha.rb.example | 8 ++++++-- 2 files changed, 6 insertions(+), 12 deletions(-) delete mode 100644 config/initializers/recaptcha.rb diff --git a/config/initializers/recaptcha.rb b/config/initializers/recaptcha.rb deleted file mode 100644 index 25a35c4e6..000000000 --- a/config/initializers/recaptcha.rb +++ /dev/null @@ -1,10 +0,0 @@ -require "recaptcha/rails" - -class ActionView::Base - include Recaptcha::ClientHelper -end - -Recaptcha.configure do |config| - config.site_key = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' - config.secret_key = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' -end diff --git a/config/initializers/recaptcha.rb.example b/config/initializers/recaptcha.rb.example index 798ac3a7e..25a35c4e6 100644 --- a/config/initializers/recaptcha.rb.example +++ b/config/initializers/recaptcha.rb.example @@ -1,6 +1,10 @@ require "recaptcha/rails" +class ActionView::Base + include Recaptcha::ClientHelper +end + Recaptcha.configure do |config| - config.public_key = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' - config.private_key = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' + config.site_key = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' + config.secret_key = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' end