osem-fcy/config/application.rb
Henne Vogelsang 813c28db46
Run rails upgrade task
next bundle exec rails app:update
2021-08-17 15:36:56 +02:00

23 lines
747 B
Ruby

require_relative 'boot'
require 'rails/all'
# Require the gems listed in Gemfile, including any gems
# you've limited to :test, :development, or :production.
Bundler.require(*Rails.groups)
module Osem
class Application < Rails::Application
# Initialize configuration defaults for originally generated Rails version.
config.load_defaults 5.0
# Configuration for the application, engines, and railties goes here.
#
# These settings can be overridden in specific environments using the files
# in config/environments, which are processed later.
#
config.time_zone = ENV.fetch('OSEM_TIME_ZONE') { 'UTC' }
# Enable escaping HTML in JSON.
config.active_support.escape_html_entities_in_json = true
end
end