Sha256: 0ec5b59f1d1eae40c96359fa449d374da537f6b47646ce673d9f5c2102fdf1bf

Contents?: true

Size: 981 Bytes

Versions: 1

Compression:

Stored size: 981 Bytes

Contents

require 'bootstrap-sass'
require 'browserify-rails'
require 'carrierwave'
require 'client_side_validations'
require 'client_side_validations/simple_form'
require 'cloudinary'
require 'faraday'
require 'fog'
require 'font-awesome-sass'
require 'geocoder'
require 'hashie'
require 'jquery-rails'
require 'rack-canonical-host'
require 'rack-ssl-enforcer'
require 'rollbar'
require "simple_form"
require 'sitemap_generator'
require 'segment'
require 'slack-notifier'

require_relative './ext/nil'
require_relative './ext/string'

module MinimumViableProduct
  class Engine < ::Rails::Engine
    isolate_namespace MinimumViableProduct
    config.autoload_paths << "#{Rails.root}/app"
    config.autoload_paths << "#{Rails.root}/lib"

    _options = {}
    _options[:protocol] = ENV['HOST_PROTOCOL'] || (ENV['FORCE_SSL'].to_b ? "https" : "http")
    _options[:host]     = ENV['HOST_DOMAIN']
    _options[:port]     = ENV['HOST_PORT']

    routes.default_url_options = _options
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
minimum_viable_product-0.1.1 lib/minimum_viable_product/engine.rb