diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index fc99ae5..3c1ae26 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -10,7 +10,7 @@ module ApplicationHelper include TableHelper include AdminHelper - RECAPTCHA_SITE_KEY = ENV['RECAPTCH_SITE_KEY'] + RECAPTCHA_SITE_KEY = ENV['RECAPTCHA_SITE_KEY'] def is_production? Rails.env == 'production' || Rails.env == 'preview' diff --git a/config/app_config.yml b/config/app_config.yml index 737fefc..4788ec0 100644 --- a/config/app_config.yml +++ b/config/app_config.yml @@ -7,7 +7,7 @@ default: &default smtp_ssl: <%= ENV['SMTP_SSL'] %> default_url: <%= ENV['DEFAULT_URL'] %> recaptcha_secret_key: <%= ENV['RECAPTCHA_SECRET_KEY'] %> - recaptcha_site_key: 'hello' + recaptcha_site_key: <%= ENV['RECAPTCHA_SITE_KEY'] %> development: <<: *default