diff --git a/app/views/profile/_profile_activities_list.html.erb b/app/views/profile/_profile_activities_list.html.erb index 2f59ab8..bd9048a 100644 --- a/app/views/profile/_profile_activities_list.html.erb +++ b/app/views/profile/_profile_activities_list.html.erb @@ -2,6 +2,7 @@ <% activities.each do |a| %> <% activity = a.klass.constantize.find(a.id) %> <% if activity.kind_of?(ActionTracker::Record) %> + <% next unless activity.target %> <%= render :partial => 'profile_activity', :locals => { :activity => activity, :tab_action => 'wall' } if activity.visible? %> <% else %> <%= render :partial => 'profile_scraps', :locals => { :activity => activity, :scrap => activity } %> -- libgit2 0.21.2