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.5.27 lib/workarea/configuration/asset_host.rb
workarea-core-3.5.26 lib/workarea/configuration/asset_host.rb
workarea-core-3.4.45 lib/workarea/configuration/asset_host.rb
workarea-core-3.5.25 lib/workarea/configuration/asset_host.rb
workarea-core-3.5.23 lib/workarea/configuration/asset_host.rb
workarea-core-3.4.44 lib/workarea/configuration/asset_host.rb
workarea-core-3.5.22 lib/workarea/configuration/asset_host.rb
workarea-core-3.4.43 lib/workarea/configuration/asset_host.rb
workarea-core-3.5.21 lib/workarea/configuration/asset_host.rb
workarea-core-3.4.42 lib/workarea/configuration/asset_host.rb
workarea-core-3.5.20 lib/workarea/configuration/asset_host.rb
workarea-core-3.4.41 lib/workarea/configuration/asset_host.rb
workarea-core-3.5.19 lib/workarea/configuration/asset_host.rb
workarea-core-3.4.40 lib/workarea/configuration/asset_host.rb
workarea-core-3.5.18 lib/workarea/configuration/asset_host.rb
workarea-core-3.4.39 lib/workarea/configuration/asset_host.rb
workarea-core-3.5.17 lib/workarea/configuration/asset_host.rb
workarea-core-3.4.38 lib/workarea/configuration/asset_host.rb
workarea-core-3.5.16 lib/workarea/configuration/asset_host.rb
workarea-core-3.4.37 lib/workarea/configuration/asset_host.rb