This commit is contained in:
albert
2013-03-10 23:35:20 -04:00
parent 43177cbad8
commit a63117b99f

View File

@@ -9,7 +9,6 @@ class PostsController < ApplicationController
def index
@post_set = PostSets::Post.new(tag_query, params[:page], params[:limit])
@posts = @post_set.posts
response.headers["X-Total-Pages"] = @posts.total_pages.to_s
respond_with(@posts) do |format|
format.atom
end