summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2014-02-22 08:30:56 -0700
committermo khan <mo@mokhan.ca>2014-02-22 08:30:56 -0700
commit1388b346450b975703b7890eb87505e975713c22 (patch)
tree7e2b22daa48a47d02c3533ba01786f68d8c995e1 /app
parent32c64df4b8b48f87c6e9a3c86496eed85a1d078c (diff)
add the license status to the json response.
Diffstat (limited to 'app')
-rw-r--r--app/views/v1/licenses/_license.json.jbuilder1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/views/v1/licenses/_license.json.jbuilder b/app/views/v1/licenses/_license.json.jbuilder
index 9fd0ce8..33109d8 100644
--- a/app/views/v1/licenses/_license.json.jbuilder
+++ b/app/views/v1/licenses/_license.json.jbuilder
@@ -1,4 +1,5 @@
json.id license.id
+json.status license.status
json.partial! 'v1/licenses/location', location: license.location
if license.confidential?
json.partial! 'v1/licenses/confidential_well_type', well_type: license.well_type