This commit is contained in:
Toks
2013-04-27 08:14:43 -04:00
parent eac1218840
commit 087c07eb8d

View File

@@ -12,7 +12,7 @@
</div> </div>
<div class="box"> <div class="box">
<h2><%= link_to "Favorites", posts_path(:tags => "fav:#{user.name}") %></h2> <h2><%= link_to "Favorites", favorites_path(:user_id => user.id) %></h2>
<% if presenter.has_favorites? %> <% if presenter.has_favorites? %>
<div> <div>
<% presenter.favorites.each do |post| %> <% presenter.favorites.each do |post| %>