fixes #2432, fix tests
This commit is contained in:
@@ -3,7 +3,7 @@ class LegacyController < ApplicationController
|
||||
rescue_from PostSets::SearchError, :with => :rescue_exception
|
||||
|
||||
def posts
|
||||
@post_set = PostSets::Post.new(tag_query, params[:page], params[:limit])
|
||||
@post_set = PostSets::Post.new(tag_query, params[:page], params[:limit], format: "json")
|
||||
@posts = @post_set.posts
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user