Module: Propshaft::Helper
- Defined in:
- lib/propshaft/helper.rb
Instance Method Summary collapse
Instance Method Details
#compute_asset_path(path, options = {}) ⇒ Object
3 4 5 |
# File 'lib/propshaft/helper.rb', line 3 def compute_asset_path(path, = {}) Rails.application.assets.resolver.resolve(path) || raise(MissingAssetError.new(path)) end |