This commit is contained in:
Toks
2013-04-15 18:40:53 -04:00
parent 56e82b6c84
commit 3ae84a9662
4 changed files with 30 additions and 3 deletions

View File

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

View File

@@ -1 +1,3 @@
$("span#favlist-for-post-<%= @post.id %>").html("<%= j(render(:partial => "favorites/favorited_users_list", :locals => { :post => @post }))%>");
$("#favlist").html("<%= j(render(:partial => "favorites/favorited_users_list", :locals => { :post => @post }))%>");
$("#show-favlist-link").attr("href", "#").removeAttr("data-remote");