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.27 lib/workarea/configuration/asset_host.rb
workarea-core-3.5.4 lib/workarea/configuration/asset_host.rb
workarea-core-3.4.26 lib/workarea/configuration/asset_host.rb
workarea-core-3.5.3 lib/workarea/configuration/asset_host.rb
workarea-core-3.4.25 lib/workarea/configuration/asset_host.rb
workarea-core-3.5.2 lib/workarea/configuration/asset_host.rb
workarea-core-3.4.24 lib/workarea/configuration/asset_host.rb
workarea-core-3.5.1 lib/workarea/configuration/asset_host.rb
workarea-core-3.4.23 lib/workarea/configuration/asset_host.rb
workarea-core-3.4.22 lib/workarea/configuration/asset_host.rb
workarea-core-3.5.0 lib/workarea/configuration/asset_host.rb
workarea-core-3.4.21 lib/workarea/configuration/asset_host.rb
workarea-core-3.5.0.beta.1 lib/workarea/configuration/asset_host.rb
workarea-core-3.4.20 lib/workarea/configuration/asset_host.rb
workarea-core-3.4.19 lib/workarea/configuration/asset_host.rb
workarea-core-3.4.18 lib/workarea/configuration/asset_host.rb
workarea-core-3.4.17 lib/workarea/configuration/asset_host.rb
workarea-core-3.4.16 lib/workarea/configuration/asset_host.rb
workarea-core-3.4.15 lib/workarea/configuration/asset_host.rb
workarea-core-3.4.14 lib/workarea/configuration/asset_host.rb