Class: PageCol

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
app/models/page_col.rb

Instance Method Summary collapse

Instance Method Details

#cloneObject



8
9
10
11
12
13
# File 'app/models/page_col.rb', line 8

def clone
  col = super
  col.translations = translations.clone unless translations.empty?
  col.block_ids = block_ids
  return col
end