Sha256: 4992207979b94cc527e76cae0513bc0fe0d618283ba44988e35926317ce32247
Contents?: true
Size: 442 Bytes
Versions: 22
Compression:
Stored size: 442 Bytes
Contents
if Rails.root.nil? class SmartAsset class SmartAssetRailtie < Rails::Railtie initializer "smart_asset_railtie.configure_rails_initialization" do SmartAsset.env = Rails.env SmartAsset.load_config(Rails.root) end end end else SmartAsset.env = Rails.env SmartAsset.load_config(Rails.root) end ActionController::Base.send(:include, SmartAsset::Helper) ActionController::Base.helper(SmartAsset::Helper)
Version data entries
22 entries across 22 versions & 1 rubygems