Sha256: febaf2f4f5b9ac8edec34a780fab6822366c9739623ff25a9a2985a9d259bc28

Contents?: true

Size: 329 Bytes

Versions: 4

Compression:

Stored size: 329 Bytes

Contents

class Structure < ActiveRecord::Base
  include Sunrise::Models::Structure
  
  acts_as_nested_set
  
  has_slug :prepend_id => false
  
  attr_accessible :title, :kind, :position, :parent_id, :redirect_url,
                  :position_type, :slug, :parent, :structure_type, 
                  :header_attributes, :is_visible
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
sunrise-core-0.1.3 lib/generators/sunrise/templates/models/defaults/structure.rb
sunrise-core-0.1.2 lib/generators/sunrise/templates/models/defaults/structure.rb
sunrise-core-0.1.1 lib/generators/sunrise/templates/models/defaults/structure.rb
sunrise-core-0.1.0 lib/generators/sunrise/templates/models/defaults/structure.rb