Guest User

Untitled

a guest
Apr 23rd, 2018
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. post.clips.each do |clip|
  2. tag_names = clip.tags.collect { |t| t.name }
  3. if tag_names.include?('project') # wtf is "project"?
  4. div.project do
  5. _clip(clip)
  6. end
  7. else
  8. div.clip do
  9. _clip(clip)
  10. end
  11. end
  12. end
Add Comment
Please, Sign In to add comment