This commit is contained in:
albert
2013-02-23 20:59:00 -05:00
parent 71067db7ea
commit d3e91e8290
2 changed files with 2 additions and 1 deletions

View File

@@ -68,6 +68,7 @@ private
def index_by_post
@posts = Post.commented_before(Time.now).tag_match(params[:tags]).paginate(params[:page], :limit => 5, :search_count => params[:search])
@posts.all
respond_with(@posts) do |format|
format.html {render :action => "index_by_post"}
end