Commit 7045574579aae3408b8728491ad8dc6a7bbbbc37
Exists in
theme-brasil-digital-from-staging
and in
9 other branches
Merge branch 'hotfixes' into stable
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
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 } %> | ... | ... |