Sha256: e01c8315e3926c8020d19d1eafe2232a71809b8e725d090aadf341097d686596

Contents?: true

Size: 354 Bytes

Versions: 16

Compression:

Stored size: 354 Bytes

Contents

class Structure < ActiveRecord::Base
  include Sunrise::Models::Structure
  include PageParts::ActiveRecordExtension

  #audited :protect => false  
  #page_parts :content, :sidebar
  
  attr_accessible :title, :kind, :position, :parent_id, :redirect_url,
                  :position_type, :slug, :parent, :structure_type, :is_visible, :as => :admin
end

Version data entries

16 entries across 8 versions & 1 rubygems

Version Path
sunrise-cms-0.4.2 spec/tmp/app/models/defaults/structure.rb
sunrise-cms-0.4.2 lib/generators/sunrise/templates/models/defaults/structure.rb
sunrise-cms-0.4.1 spec/tmp/app/models/defaults/structure.rb
sunrise-cms-0.4.1 lib/generators/sunrise/templates/models/defaults/structure.rb
sunrise-cms-0.4.0 lib/generators/sunrise/templates/models/defaults/structure.rb
sunrise-cms-0.4.0 spec/tmp/app/models/defaults/structure.rb
sunrise-cms-0.3.3 lib/generators/sunrise/templates/models/defaults/structure.rb
sunrise-cms-0.3.3 spec/tmp/app/models/defaults/structure.rb
sunrise-cms-0.3.2 lib/generators/sunrise/templates/models/defaults/structure.rb
sunrise-cms-0.3.2 spec/tmp/app/models/defaults/structure.rb
sunrise-cms-0.3.1 lib/generators/sunrise/templates/models/defaults/structure.rb
sunrise-cms-0.3.1 spec/tmp/app/models/defaults/structure.rb
sunrise-cms-0.3.0 lib/generators/sunrise/templates/models/defaults/structure.rb
sunrise-cms-0.3.0 spec/tmp/app/models/defaults/structure.rb
sunrise-cms-0.3.0.rc2 spec/tmp/app/models/defaults/structure.rb
sunrise-cms-0.3.0.rc2 lib/generators/sunrise/templates/models/defaults/structure.rb