Browse Source

Corrects spelling mistake

master
Jonathan Rosenbaum 1 year ago
parent
commit
9ea241f8ec
  1. 2
      app/helpers/application_helper.rb
  2. 2
      config/app_config.yml

2
app/helpers/application_helper.rb

@ -10,7 +10,7 @@ module ApplicationHelper
include TableHelper include TableHelper
include AdminHelper include AdminHelper
RECAPTCHA_SITE_KEY = ENV['RECAPTCH_SITE_KEY'] RECAPTCHA_SITE_KEY = ENV['RECAPTCHA_SITE_KEY']
def is_production? def is_production?
Rails.env == 'production' || Rails.env == 'preview' Rails.env == 'production' || Rails.env == 'preview'

2
config/app_config.yml

@ -7,7 +7,7 @@ default: &default
smtp_ssl: <%= ENV['SMTP_SSL'] %> smtp_ssl: <%= ENV['SMTP_SSL'] %>
default_url: <%= ENV['DEFAULT_URL'] %> default_url: <%= ENV['DEFAULT_URL'] %>
recaptcha_secret_key: <%= ENV['RECAPTCHA_SECRET_KEY'] %> recaptcha_secret_key: <%= ENV['RECAPTCHA_SECRET_KEY'] %>
recaptcha_site_key: 'hello' recaptcha_site_key: <%= ENV['RECAPTCHA_SITE_KEY'] %>
development: development:
<<: *default <<: *default

Loading…
Cancel
Save