lib/bidu/house/concern.rb in bidu-house-0.1.1 vs lib/bidu/house/concern.rb in bidu-house-0.1.2

- old
+ new

@@ -1,9 +1,9 @@ module Bidu module House extend ActiveSupport::Concern - def render_status(key) + def render_status(key = :default) status = self.class.status_builder.build(key, params) render json: status.as_json, status: status.status end end end