fixes to limit

This commit is contained in:
albert
2013-01-14 16:38:33 -05:00
parent 60f2a06eee
commit c327653394
5 changed files with 4 additions and 7 deletions

View File

@@ -5,7 +5,7 @@ class PostsController < ApplicationController
rescue_from PostSets::SearchError, :with => :search_error
def index
@post_set = PostSets::Post.new(tag_query, params[:page])
@post_set = PostSets::Post.new(tag_query, params[:page], params[:limit])
@posts = @post_set.posts
respond_with(@posts) do |format|
format.atom