committee 1.1.1 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/committee/middleware/base.rb +1 -1
- metadata +1 -1
@@ -18,7 +18,7 @@ module Committee::Middleware
|
|
18
18
|
|
19
19
|
def render_error(status, id, message)
|
20
20
|
[status, { "Content-Type" => "application/json" },
|
21
|
-
[MultiJson.encode({ id: id,
|
21
|
+
[MultiJson.encode({ id: id, message: message }, pretty: true)]]
|
22
22
|
end
|
23
23
|
|
24
24
|
def warn_string_deprecated
|