app/controllers/alchemy/admin/pages_controller.rb in alchemy_cms-2.9.0 vs app/controllers/alchemy/admin/pages_controller.rb in alchemy_cms-2.9.1

- old
+ new

@@ -307,10 +307,10 @@ # The node's ancestors path # @param [Hash] # A children node # def process_url(ancestors_path, item) - default_urlname = (ancestors_path.blank? ? "" : "#{ancestors_path}/") + item['slug'] + default_urlname = (ancestors_path.blank? ? "" : "#{ancestors_path}/") + item['slug'].to_s pair = {my_urlname: default_urlname, children_path: default_urlname} if item['external'] == true || item['visible'] == false # children ignore an ancestor in their path if external or invisible