Sfoglia il codice sorgente

Add "type" to error jbuilder

Andrew Swistak 6 anni fa
parent
commit
583cf41a62
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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