This commit is contained in:
albert
2012-01-06 18:58:01 -05:00
parent ef27934125
commit 779ff94944
5 changed files with 17 additions and 9 deletions

View File

@@ -3,7 +3,7 @@ class FavoritesController < ApplicationController
def index
if params[:tags]
redirect_to(posts_path(:tags => "fav:#{CurrentUser.name} #{params[:tags]}"))
redirect_to(posts_path(:tags => params[:tags]))
else
@favorite_set = PostSets::Favorite.new(CurrentUser.user, params[:page])
end