Commit 3f40929c authored by Albert Yi's avatar Albert Yi

fixes #3723

parent bf9e5123
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment