Browse Source

Set lenguage threshold for environments

development
Godwin 9 years ago
parent
commit
d49e42c909
  1. 2
      config/environments/development.rb
  2. 2
      config/environments/preview.rb
  3. 2
      config/environments/production.rb

2
config/environments/development.rb

@ -56,4 +56,6 @@ BikeBike::Application.configure do
#config.assets.precompile = false #config.assets.precompile = false
Paypal.sandbox! Paypal.sandbox!
#Paypal.sandbox = false #Paypal.sandbox = false
config.i18n.language_threshold = 1
end end

2
config/environments/preview.rb

@ -99,4 +99,6 @@ BikeBike::Application.configure do
} }
config.action_mailer.raise_delivery_errors = true config.action_mailer.raise_delivery_errors = true
config.action_mailer.perform_deliveries = true config.action_mailer.perform_deliveries = true
config.i18n.language_threshold = 1
end end

2
config/environments/production.rb

@ -100,4 +100,6 @@ BikeBike::Application.configure do
} }
config.action_mailer.raise_delivery_errors = true config.action_mailer.raise_delivery_errors = true
config.action_mailer.perform_deliveries = true config.action_mailer.perform_deliveries = true
config.i18n.language_threshold = 90
end end

Loading…
Cancel
Save