fixes #3723
This commit is contained in:
@@ -23,7 +23,7 @@ class PoolsController < ApplicationController
|
||||
render :xml => @pools.to_xml(:root => "pools")
|
||||
end
|
||||
format.json do
|
||||
render json: @pool.to_json
|
||||
render json: @pools.to_json
|
||||
expires_in params[:expiry].to_i.days if params[:expiry]
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user