lib/scrivito/cms_routing.rb in scrivito_sdk-1.9.1 vs lib/scrivito/cms_routing.rb in scrivito_sdk-1.10.0.rc1

- old
+ new

@@ -48,10 +48,10 @@ end def path_or_url_without_editing_context(target, path_or_url, options) if target.is_a?(Link) path_or_url_for_links(target, path_or_url, options) - elsif target.is_a?(Obj) + elsif target.is_a?(Scrivito::BasicObj) path_or_url_for_objs(target, path_or_url, options) elsif target.respond_to?(:first) if target.first.is_a?(Link) path_or_url_for_links(target.first, path_or_url, options) else