From 6ea04faf4f34fc2b64b2c96526bf9ea16b35eff4 Mon Sep 17 00:00:00 2001 From: pixeldesu Date: Fri, 24 Jul 2015 17:14:42 +0200 Subject: [PATCH] update show_follow JS to address changes --- app/views/user/show_follow.js.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/user/show_follow.js.erb b/app/views/user/show_follow.js.erb index 9a507edf..bd3ecf51 100644 --- a/app/views/user/show_follow.js.erb +++ b/app/views/user/show_follow.js.erb @@ -1,8 +1,8 @@ $('#users').append('<% @users.each do |user| - %>
<%= j render 'shared/userbox', user: user + %>
<%= j render 'shared/userbox', user: user %>
<% end %>'); <% if @users.next_page %> $('#pagination').html('<%= j will_paginate @users, renderer: BootstrapPagination::Rails, page_links: false %>'); <% else %> $('#pagination, #load-more-btn').remove(); -<% end %> \ No newline at end of file +<% end %>