Class: CarouselItem

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

Instance Method Summary collapse

Instance Method Details

#cloneObject



7
8
9
10
11
# File 'app/models/carousel_item.rb', line 7

def clone
  cloned = super
  cloned.translations = translations.clone unless translations.empty?
  return cloned
end