Sha256: 6e2cf8e154d049289b11c756edea3df50a835c98260538b67288d1e08f0024b3

Contents?: true

Size: 299 Bytes

Versions: 62

Compression:

Stored size: 299 Bytes

Contents

module Workarea
  module Configuration
    module AssetHost
      extend self

      def load
        if Rails.application.config.action_controller.asset_host.blank?
          Rails.application.config.action_controller.asset_host = ENV['WORKAREA_ASSET_HOST']
        end
      end
    end
  end
end

Version data entries

62 entries across 62 versions & 1 rubygems

Version Path
workarea-core-3.4.13 lib/workarea/configuration/asset_host.rb
workarea-core-3.4.12 lib/workarea/configuration/asset_host.rb