Merge branch 'master' of github.com:middleman/middleman
This commit is contained in:
commit
78150b9103
1 changed files with 5 additions and 2 deletions
|
@ -9,10 +9,13 @@ module Middleman
|
|||
class << self
|
||||
|
||||
# Once registered
|
||||
def registered(app)
|
||||
# Default to no host
|
||||
def registered(app, options={})
|
||||
app.config.define_setting :asset_host, false, 'The asset host to use, or false for no asset host, or a Proc to determine asset host'
|
||||
|
||||
if options[:host]
|
||||
config[:asset_host] = options[:host]
|
||||
end
|
||||
|
||||
# Include methods
|
||||
app.send :include, InstanceMethods
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue