spec/tmp/app/models/sunrise/sunrise_structure.rb in sunrise-cms-0.5.0.rc3 vs spec/tmp/app/models/sunrise/sunrise_structure.rb in sunrise-cms-0.5.0.rc4
- old
+ new
@@ -19,10 +19,9 @@
edit do
field :title
field :redirect_url
field :slug
- #field :headers, :partial => true
field :parent_id, :collection => lambda { Structure.nested_set_options() {|i| "#{'–' * i.depth} #{i.title}"} }, :if => lambda { |s| s.moveable? }
field :kind, :collection => lambda { StructureType.all }, :include_blank => false
field :position, :collection => lambda { PositionType.all }, :include_blank => false
field :is_visible, :as => :boolean