32 lines
973 B
Ruby
32 lines
973 B
Ruby
# frozen_string_literal: true
|
|
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 SkillAssessmentApp
|
|
class Application < Rails::Application
|
|
# 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.
|
|
|
|
# bower
|
|
config.assets.paths << Rails.root.join('vendor', 'assets', 'bower_components')
|
|
|
|
config.action_mailer.delivery_method = :mailjet
|
|
config.action_mailer.default_url_options = { host: ENV['full_app_url'] }
|
|
|
|
config.generators do |g|
|
|
g.assets false
|
|
g.helper false
|
|
g.routes false
|
|
end
|
|
|
|
# let's use lib/utils for dev only utility classes & helpers
|
|
config.autoload_paths << "#{Rails.root}/lib/utils"
|
|
end
|
|
end
|