app/views/spina/admin/resources/edit.html.haml in spina-1.0.3 vs app/views/spina/admin/resources/edit.html.haml in spina-1.1.0
- old
+ new
@@ -44,6 +44,6 @@
.horizontal-form-group
.horizontal-form-label
= Spina::Resource.human_attribute_name :parent_page
.horizontal-form-content
.select-dropdown
- = f.select :parent_page_id, page_ancestry_options(f.object), include_blank: Spina::Resource.human_attribute_name(:no_parent)
+ = f.select :parent_page_id, page_ancestry_options(Spina::Page.new), include_blank: Spina::Resource.human_attribute_name(:no_parent)
\ No newline at end of file