lib/brief/server/handlers/show.rb in brief-1.4.4 vs lib/brief/server/handlers/show.rb in brief-1.5.0

- old
+ new

@@ -24,10 +24,10 @@ content_type = "text/plain" when document && view == "rendered" body = document.to_html content_type = "text/html" when document && view == "details" - body = document.to_model.as_json + body = document.to_model.as_json(request.params) end [code, {"Content-Type"=>content_type}, body] end end