app/views/user_activities/show.html.erb
<h2>Notifications</h2>
<% @activities.each do |a| %>
<md-card>
<p>
<%= link_to a.representation, a.href %>
</p>
<p style="font-size:10px">
<%= a.created_at.strftime '%-m/%e/%Y %I:%M %p' %>     <%= link_to("Delete", delete_notification_path(a), :method => :delete, :id => "delete_activity_#{a.id}") %>
</p>
</md-card>
<% end %>
<%= link_to('Back to home page', root_path) %>