module Propshaft::Helper

Public Instance Methods

compute_asset_path(path, options = {}) click to toggle source
# File lib/propshaft/helper.rb, line 3
def compute_asset_path(path, options = {})
  Rails.application.assets.resolver.resolve(path) || raise(MissingAssetError.new(path))
end