app/views/notifications/_index.html.erb in social_stream-base-0.16.1 vs app/views/notifications/_index.html.erb in social_stream-base-0.16.2
- old
+ new
@@ -11,9 +11,10 @@
:confirm => t('sure'),:method => :put, :remote => true) %>
</div>
<div class="conversations">
<% @notifications.each do |notification|%>
+ <% @notification = notification %>
<% read_class = notification.is_unread?(@actor) ? 'unread' : '' %>
<%= render :partial => 'notification', :object => notification, :locals => {:read_class => read_class} %>
<% end %>
<%= paginate @notifications %>
</div>