Module: Gulp::Pipeline::Rails::Patches::MetaRequestMiddlewaresHeaders

Defined in:
lib/gulp/pipeline/rails/patches/metarequest_middlewares_headers.rb

Instance Method Summary collapse

Instance Method Details

#asset?(path) ⇒ Boolean

Returns:

  • (Boolean)


8
9
10
# File 'lib/gulp/pipeline/rails/patches/metarequest_middlewares_headers.rb', line 8

def asset?(path)
  @app_config.respond_to?(:assets) && Assets.path_starts_with?(path)
end