<% if activity_object.acts_as_actor? %>
<%= model_with_details activity_object.object %>
<% else %> <%= render activity_object.object %> <% end %>