Guest User

Untitled

a guest
Feb 20th, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. #thumbs
  2. - count = 0
  3. - for look in @looks[1..9]
  4. -count += 1
  5. .thumb{:class => "#{'end' if count.to_i % 3 == 0}"}
  6. =image_tag look.photos.first.file(:thumb)
Add Comment
Please, Sign In to add comment