Module: Resizing::Rails::WebpackBundleHelper

Defined in:
app/helpers/resizing/rails/webpack_bundle_helper.rb

Overview

Defined Under Namespace

Classes: BundleNotFound

Instance Method Summary collapse

Instance Method Details

#asset_bundle_path(file) ⇒ Object



5
6
7
8
# File 'app/helpers/resizing/rails/webpack_bundle_helper.rb', line 5

def asset_bundle_path(file)
  valid_file?(file)
  return "/assets" + manifest.fetch(file)
end