Switch over to new config methods
This commit is contained in:
parent
781fa1c65f
commit
a50ca56fbc
22 changed files with 119 additions and 115 deletions
|
@ -71,7 +71,7 @@ module Middleman
|
|||
opts = @options
|
||||
@app =::Middleman::Application.server.inst do
|
||||
if opts[:environment]
|
||||
set :environment, opts[:environment].to_sym
|
||||
config[:environment] = opts[:environment].to_sym
|
||||
end
|
||||
|
||||
logger(opts[:debug] ? 0 : 1, opts[:instrumenting] || false)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue