This commit is contained in:
r888888888
2013-04-14 18:53:42 -07:00
parent d5eaf9aa0d
commit 100fb7c539

View File

@@ -11,7 +11,7 @@ module PostSets
end
def limit
params[:limit] || CurrentUser.user.per_page
[(params[:limit] || CurrentUser.user.per_page).to_i, 1_000].min
end
end
end