fix empty pagination div

This commit is contained in:
Devin Howard 2016-12-12 10:37:46 -05:00
parent 4324ba31c5
commit a59a5d0557

View file

@ -31,9 +31,11 @@
</ul>
</div>
<div class="centerContent pagination">
<%= paginate @notifications %>
</div>
<% if @notifications.total_pages > 1 %>
<div class="centerContent pagination">
<%= paginate @notifications %>
</div>
<% end %>
<%= render partial: 'shared/back_to_mapping' %>
</div>