summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2014-02-22 08:27:34 -0700
committermo khan <mo@mokhan.ca>2014-02-22 08:27:34 -0700
commit32c64df4b8b48f87c6e9a3c86496eed85a1d078c (patch)
tree35ee05b2fb18ef202f44ab8cec7b4c1b56e70863 /app/views
parentc75462efb418746940ba474281a7518510624e5d (diff)
add well types and license statuses to the company licenses json response.
Diffstat (limited to 'app/views')
-rw-r--r--app/views/v1/company_licenses/index.jbuilder2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/views/v1/company_licenses/index.jbuilder b/app/views/v1/company_licenses/index.jbuilder
index 1cc2069..db62113 100644
--- a/app/views/v1/company_licenses/index.jbuilder
+++ b/app/views/v1/company_licenses/index.jbuilder
@@ -1,3 +1,5 @@
json.array! @licenses do |license|
json.partial! 'v1/licenses/license', license: license
end
+json.partial! 'v1/shared/well_types', well_types: @well_types
+json.partial! 'v1/shared/license_statuses', license_statuses: @license_statuses