diff --git a/app/controllers/pets_controller.rb b/app/controllers/pets_controller.rb index eb552793..a4456839 100644 --- a/app/controllers/pets_controller.rb +++ b/app/controllers/pets_controller.rb @@ -86,7 +86,7 @@ class PetsController < ApplicationController end format.json do - render :text => options[:long_message], :status => options[:status] + render :json => options[:long_message], :status => options[:status] end end end