lib/bidu/house/concern.rb in bidu-house-0.1.2 vs lib/bidu/house/concern.rb in bidu-house-0.2.0
- old
+ new
@@ -2,9 +2,9 @@
module House
extend ActiveSupport::Concern
def render_status(key = :default)
status = self.class.status_builder.build(key, params)
- render json: status.as_json, status: status.status
+ render json: status.as_json.stringify_keys.to_deep_hash, status: status.status
end
end
end