app/helpers/pages_helper.rb in mcms_pages-0.0.2 vs app/helpers/pages_helper.rb in mcms_pages-0.0.3
- old
+ new
@@ -85,10 +85,10 @@
def build_page_part_page index
# create a PagePart object and assign it to a variable
page = PagePartsPage.new
- #make the page part form
+ #make the page part pages form
builder = ActionView::Helpers::FormBuilder.new( "page[page_parts_pages_attributes][#{index}]", page, self, {}, proc {})
#return form object
return builder