changes to limit

This commit is contained in:
albert
2013-01-14 16:04:05 -05:00
parent 493990dae1
commit 0cd009df24
3 changed files with 7 additions and 5 deletions

View File

@@ -1,6 +1,6 @@
class LegacyController < ApplicationController
def posts
@post_set = PostSets::Post.new(tag_query, params[:page])
@post_set = PostSets::Post.new(tag_query, params[:page], params[:limit])
@posts = @post_set.posts
end