Move more things over to new configs. Don't let root be configured
This commit is contained in:
parent
a50ca56fbc
commit
4fe22e3fb5
14 changed files with 42 additions and 39 deletions
|
@ -29,7 +29,7 @@ module Middleman
|
|||
|
||||
# Before parsing config, load the data/ directory
|
||||
app.before_configuration do
|
||||
files.reload_path(data_dir)
|
||||
files.reload_path(config[:data_dir])
|
||||
end
|
||||
|
||||
# After config, load everything else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue