<% mention = mention @object['attributedTo'] following_path = File.join(FOLLOWING, "#{mention}.json") follow = File.exist?(following_path) ? 'unfollow' : 'follow' %>
em' id='<%= @object['id'] %>'> ', target='_blank'><%= mention %> 
' /> ' />
 
' /> ' />
 
' /> ' />
<%= @object['content'] %> <% if @object['attachment'] @object['attachment'].each do |att| case att['mediaType'] when /audio/ %>
<% when /image/ %>
'>'> <% when /video/ %>
<% else %> <%= att %>
'><%= att['url'] %> <% end %> <% end %> <% end %>

' style='display:none;' > ' /> ' /> ' />
<% @object['replies'].each do |reply| @object = reply %> <%= erb :object %> <% end %>