Skip to content

Instantly share code, notes, and snippets.

@vincentchu
Created January 25, 2009 08:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vincentchu/51736 to your computer and use it in GitHub Desktop.
Save vincentchu/51736 to your computer and use it in GitHub Desktop.
<% @fb_user.user.find_my_subscriptions(16).each do |sub| %>
<% if !sub.is_private %>
<% site_owner = sub.users[0] %>
<% if (site_owner) %>
<a href="<%=url_for_site(sub)%>">
<img style="border:1px solid #CCCCCC" src="<%=site_owner.user_profile.profile_image_35%>" width='35' height='35' alt='<%=site_owner.nickname%>' />
</a>
<% end %>
<% end %>
<% end %>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment