Module: Workarea::Configuration::AssetHost

Extended by:
AssetHost
Included in:
AssetHost
Defined in:
lib/workarea/configuration/asset_host.rb

Instance Method Summary collapse

Instance Method Details

#loadObject



6
7
8
9
10
# File 'lib/workarea/configuration/asset_host.rb', line 6

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