From 9782bf0cd67604453b0ef6cad406e03e76006b47 Mon Sep 17 00:00:00 2001 From: r888888888 Date: Mon, 24 Jun 2013 12:03:46 -0700 Subject: [PATCH] fix tests --- app/logical/post_sets/favorite.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/logical/post_sets/favorite.rb b/app/logical/post_sets/favorite.rb index b0d051260..497650a04 100644 --- a/app/logical/post_sets/favorite.rb +++ b/app/logical/post_sets/favorite.rb @@ -8,6 +8,10 @@ module PostSets @favorites = ::Favorite.for_user(user.id).paginate(page, :limit => limit).order("favorites.id desc") end + def raw + false + end + def limit params[:limit] || CurrentUser.user.per_page end