summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2014-02-22 08:16:49 -0700
committermo khan <mo@mokhan.ca>2014-02-22 08:16:49 -0700
commitba07bb7f1ea83845cfd8e0fdae5f860087147b5c (patch)
treec8ddf3812070344859ec7805d10a826819f19190 /app
parent50bd8659e26cebb8c729b25f09eef7e3a25111c5 (diff)
add license statuses to the json response.
Diffstat (limited to 'app')
-rw-r--r--app/views/v1/licenses/index.jbuilder5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/views/v1/licenses/index.jbuilder b/app/views/v1/licenses/index.jbuilder
index 2f31916..f8125e5 100644
--- a/app/views/v1/licenses/index.jbuilder
+++ b/app/views/v1/licenses/index.jbuilder
@@ -10,3 +10,8 @@ json.well_types do
json.name well_type.name
end
end
+json.license_statuses do
+ json.array! @license_statuses do |status|
+ json.name status.to_s
+ end
+end