skill-assessment-app/config/application.rb

38 lines
1.1 KiB
Ruby
Raw Permalink Normal View History

# frozen_string_literal: true
2016-07-26 11:59:23 -05:00
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.
2016-07-28 12:55:47 -05:00
# bitters
config.assets.paths << Rails.root.join('vendor', 'assets', 'base')
# bourbon
config.assets.paths << Rails.root.join('vendor', 'assets', 'bourbon')
# bower
config.assets.paths << Rails.root.join('vendor', 'assets', 'bower_components')
2016-08-02 07:58:58 -05:00
config.action_mailer.delivery_method = :mailjet
config.action_mailer.default_url_options = { host: ENV['full_app_url'] }
2016-08-17 17:49:09 -05:00
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"
2016-07-26 11:59:23 -05:00
end
end