major refactoring of post sets and pagination, incomplete
This commit is contained in:
@@ -4,7 +4,7 @@ class PostsController < ApplicationController
|
||||
respond_to :html, :xml, :json
|
||||
|
||||
def index
|
||||
@post_set = PostSets::Post.new(params[:tags], :page => params[:page], :before_id => params[:before_id])
|
||||
@post_set = PostSets::Post.new(params[:tags], params)
|
||||
respond_with(@post_set)
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user