summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2014-02-22 07:18:53 -0700
committermo khan <mo@mokhan.ca>2014-02-22 07:18:53 -0700
commit1b5f09e0fa8049e68053ad8c20e0c602460a0dc5 (patch)
tree987a2089517363d2a89234dcd0bc48c1c12d187f /app
parent2dd2a09d8c9f939639e72c62ecd4367f7a3ec059 (diff)
add id to json response.
Diffstat (limited to 'app')
-rw-r--r--app/views/v1/licenses/index.jbuilder1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/views/v1/licenses/index.jbuilder b/app/views/v1/licenses/index.jbuilder
index 5eaf41e..b6afb2d 100644
--- a/app/views/v1/licenses/index.jbuilder
+++ b/app/views/v1/licenses/index.jbuilder
@@ -1,4 +1,5 @@
json.array! @licenses do |license|
+ json.id license.id
json.well_type do
json.id license.well_type.id
json.acronym license.well_type.acronym