diff options
| author | mo khan <mo@mokhan.ca> | 2014-02-22 07:18:53 -0700 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2014-02-22 07:18:53 -0700 |
| commit | 1b5f09e0fa8049e68053ad8c20e0c602460a0dc5 (patch) | |
| tree | 987a2089517363d2a89234dcd0bc48c1c12d187f /app | |
| parent | 2dd2a09d8c9f939639e72c62ecd4367f7a3ec059 (diff) | |
add id to json response.
Diffstat (limited to 'app')
| -rw-r--r-- | app/views/v1/licenses/index.jbuilder | 1 |
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 |
