add localization

This commit is contained in:
Yan
2017-10-11 17:29:28 +06:30
parent 4ab89efaf2
commit 476aafa791
6 changed files with 34 additions and 2 deletions

View File

@@ -13,6 +13,8 @@ module SXRestaurants
# Settings in config/environments/* take precedence over those specified here.
# Application configuration should go into files in config/initializers
# -- all .rb files in that directory are automatically loaded.
config.i18n.default_locale = :'en'
config.active_record.time_zone_aware_types = [:datetime, :time]
config.active_job.queue_adapter = :sidekiq
config.time_zone = 'Asia/Rangoon'