From ba07bb7f1ea83845cfd8e0fdae5f860087147b5c Mon Sep 17 00:00:00 2001 From: mo khan Date: Sat, 22 Feb 2014 08:16:49 -0700 Subject: add license statuses to the json response. --- app/views/v1/licenses/index.jbuilder | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'app/views') 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 -- cgit v1.2.3