This commit is contained in:
Toks
2013-04-14 12:56:35 -04:00
parent 59b9c2b76b
commit c9400e404d
5 changed files with 14 additions and 1 deletions

View File

@@ -0,0 +1 @@
<br><%= post.favorited_users.reverse_each.map{|user| link_to_user(user)}.join(", ").html_safe %>

View File

@@ -0,0 +1 @@
$("span#favlist-for-post-<%= @post.id %>").html("<%= j(render(:partial => "favorites/favorited_users_list", :locals => { :post => @post }))%>");