lib/lookbook/page.rb in lookbook-1.1.1 vs lib/lookbook/page.rb in lookbook-1.2.0
- old
+ new
@@ -178,10 +178,10 @@
PageCollection.new(sorted_pages)
end
def page_paths
- Lookbook.config.page_paths.select { |dir| Dir.exist? dir }
+ PathUtils.normalize_all(Lookbook.config.page_paths)
end
def section_path?(path)
!!path.match(%r{\[(.*?\w+)\]})
end