From b47997a030d158d440889cc6690b083bc91fef98 Mon Sep 17 00:00:00 2001 From: Kyle Drake Date: Thu, 12 Jun 2014 12:59:26 -0700 Subject: [PATCH] fix for follows display --- views/_follows.erb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/views/_follows.erb b/views/_follows.erb index 57c693c8..bd0a9f74 100644 --- a/views/_follows.erb +++ b/views/_follows.erb @@ -12,10 +12,11 @@ <% end %> -<% if (!is_current_site && !site_followings.empty?) || is_current_site %> +<% site_follows = site.follows %> +<% if (!is_current_site && !site_follows.empty?) || is_current_site %>

Followers

- <% if site_followings.empty? %> + <% if site_follows.empty? %> No followers yet. <% else %> <% site.follows_dataset.select(:actioning_site_id).all.each do |follow| %>