Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- %h2 List of all statuses
- %br
- - @statuses.reverse_each do |status|
- - if can_display_status?(status)
- .status
- .row
- .span1
- .avatar= link_to image_tag(status.user.gravatar_url), profile_path(status.user)
- .span11
- .content
- %strong= status.user.full_name
- %p= status.content
- = status_document_link(status)
- .meta
- = time_ago_in_words(status.created_at) + " ago"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement