lib/scrivito/page_config.rb in scrivito_sdk-0.70.2 vs lib/scrivito/page_config.rb in scrivito_sdk-0.71.0.rc1
- old
+ new
@@ -21,14 +21,15 @@
def current_page_config
return {} unless obj
{
id: obj.id,
- obj_class_name: obj.obj_class_name,
+ obj_class: obj.obj_class,
has_children: obj.children.any?,
has_conflict: obj.has_conflict?,
has_details_view: obj_has_details_view?,
modification: modification(obj),
+ parent_path: obj.parent_path,
restriction_messages: editor.restriction_messages_for(obj),
}
end
def obj_has_details_view?