Make sure to require rack/test from asset_hash
This commit is contained in:
parent
3a4c063535
commit
52819cd239
|
@ -4,6 +4,9 @@ module Middleman
|
||||||
class << self
|
class << self
|
||||||
def registered(app, options={})
|
def registered(app, options={})
|
||||||
require 'digest/sha1'
|
require 'digest/sha1'
|
||||||
|
require 'rack/test'
|
||||||
|
require 'uri'
|
||||||
|
|
||||||
exts = options[:exts] || %w(.jpg .jpeg .png .gif .js .css)
|
exts = options[:exts] || %w(.jpg .jpeg .png .gif .js .css)
|
||||||
|
|
||||||
# Allow specifying regexes to ignore, plus always ignore apple touch icons
|
# Allow specifying regexes to ignore, plus always ignore apple touch icons
|
||||||
|
|
Loading…
Reference in a new issue