Sprankelprachtig aan/afmeldsysteem

application.rb 758B

123456789101112131415161718192021222324
  1. require_relative 'boot'
  2. require 'rails/all'
  3. # Require the gems listed in Gemfile, including any gems
  4. # you've limited to :test, :development, or :production.
  5. Bundler.require(*Rails.groups)
  6. module Aardbei
  7. class Application < Rails::Application
  8. # Settings in config/environments/* take precedence over those specified here.
  9. # Application configuration should go into files in config/initializers
  10. # -- all .rb files in that directory are automatically loaded.
  11. default_url_options[:host] = ENV['AARDBEI_HOSTNAME']
  12. config.time_zone = 'Amsterdam'
  13. config.i18n.load_path += Dir[Rails.root.join('config', 'locales', '**', '*.{rb,yml}')]
  14. config.i18n.default_locale = :nl
  15. config.active_job.queue_adapter = :delayed_job
  16. end
  17. end