lib/alchemy/page_layout.rb in alchemy_cms-7.0.0.pre.a vs lib/alchemy/page_layout.rb in alchemy_cms-7.0.0.pre.b
- old
+ new
@@ -49,10 +49,10 @@
if File.exist?(layouts_file_path)
Array.wrap(
YAML.safe_load(
ERB.new(File.read(layouts_file_path)).result,
permitted_classes: YAML_PERMITTED_CLASSES,
- aliases: true,
+ aliases: true
) || []
)
else
raise LoadError, "Could not find page_layouts.yml file! Please run `rails generate alchemy:install`"
end