Class: Skyline::Sections::LinkSection
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Skyline::Sections::LinkSection
- Includes:
- NestedAttributesPositioning, Skyline::SectionItem
- Defined in:
- app/models/skyline/sections/link_section.rb
Instance Method Summary collapse
Methods included from Skyline::SectionItem
Instance Method Details
#clone ⇒ Object
11 12 13 14 15 |
# File 'app/models/skyline/sections/link_section.rb', line 11 def clone returning super do |clone| clone.links = self.links.collect{|link| link.clone} end end |