Sha256: 9aca6a5d404f8ad013757a25519b3f71a74ce93e809b32181abda411b0515beb

Contents?: true

Size: 157 Bytes

Versions: 9

Compression:

Stored size: 157 Bytes

Contents

Structure.class_eval do
  has_many :posts, :dependent => :delete_all
  
  page_parts :main, :sidebar
  
  attr_accessible :main, :sidebar, :as => :admin
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
sunrise-cms-0.4.2 spec/support/hooks/structure.rb
sunrise-cms-0.4.1 spec/support/hooks/structure.rb
sunrise-cms-0.4.0 spec/support/hooks/structure.rb
sunrise-cms-0.3.3 spec/support/hooks/structure.rb
sunrise-cms-0.3.2 spec/support/hooks/structure.rb
sunrise-cms-0.3.1 spec/support/hooks/structure.rb
sunrise-cms-0.3.0 spec/support/hooks/structure.rb
sunrise-cms-0.3.0.rc2 spec/support/hooks/structure.rb
sunrise-cms-0.3.0.rc spec/support/hooks/structure.rb