Module: CatHerder::Helper

Defined in:
lib/cat_herder/helper.rb

Instance Method Summary collapse

Instance Method Details

#compute_asset_path(logical_path, options = {}) ⇒ Object



5
6
7
# File 'lib/cat_herder/helper.rb', line 5

def compute_asset_path(logical_path, options = {})
  Assets.precompiled? ? Assets.precompiled_asset_path(logical_path) : Assets[logical_path].asset_path
end