Commit 7045574579aae3408b8728491ad8dc6a7bbbbc37

Authored by Victor Costa
2 parents 34026104 889fe05a

Merge branch 'hotfixes' into stable

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