1
2
14 15 16 17 18 19 20 21 22 23
# File 'app/models/import.rb', line 14 def update_size if type_pic == THUMB Picture.find(picture_id).update_thumb destroy end if type_pic == VIEW Picture.find(picture_id).update_view destroy end end