Fix rendering of notifications

This commit is contained in:
Omar Roth 2018-08-06 13:48:02 -05:00
parent fe5142753c
commit f121e74d33

View file

@ -15,15 +15,15 @@
</div>
</div>
<div class="h-box">
<center><%= notifications.size %> unseen notifications</center>
<% notifications.each_slice(4) do |slice| %>
<div class="pure-g">
<% slice.each do |video| %>
<%= rendered "components/video" %>
<% end %>
</div>
<% end %>
<hr>
</div>
<% videos.each_slice(4) do |slice| %>
<div class="pure-g">