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
|
@ -114,7 +114,7 @@ module Middleman::Cli
|
|||
# @param [Middleman::Sitemap::Resource] resource
|
||||
# @return [String] The full path of the file that was written
|
||||
def render_to_file(resource)
|
||||
build_dir = self.class.shared_instance.build_dir
|
||||
build_dir = self.class.shared_instance.config[:build_dir]
|
||||
output_file = File.join(build_dir, resource.destination_path)
|
||||
|
||||
begin
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue