Whoops again
This commit is contained in:
parent
709a0d1a6c
commit
8bbda9ea7b
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ class Middleman::Extensions::CacheBuster < ::Middleman::Extension
|
||||||
# asset_url override if we're using cache busting
|
# asset_url override if we're using cache busting
|
||||||
# @param [String] path
|
# @param [String] path
|
||||||
# @param [String] prefix
|
# @param [String] prefix
|
||||||
def asset_url(path, prefix='')
|
def asset_url(path, prefix='', options={})
|
||||||
http_path = super
|
http_path = super
|
||||||
|
|
||||||
if http_path.include?('://') || !%w(.css .png .jpg .jpeg .svg .svgz .webp .js .gif).include?(File.extname(http_path))
|
if http_path.include?('://') || !%w(.css .png .jpg .jpeg .svg .svgz .webp .js .gif).include?(File.extname(http_path))
|
||||||
|
|
Loading…
Reference in a new issue