Explorar el Código

Add "type" to error jbuilder

Andrew Swistak hace 6 años
padre
commit
583cf41a62
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      app/views/api/v1/application/_error.json.jbuilder

+ 1 - 1
app/views/api/v1/application/_error.json.jbuilder

@@ -1 +1 @@
-json.extract! @error, :message
+json.extract! @error, :message, :type