diff options
Diffstat (limited to 'app/views/v1/licenses/_license.json.jbuilder')
| -rw-r--r-- | app/views/v1/licenses/_license.json.jbuilder | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/app/views/v1/licenses/_license.json.jbuilder b/app/views/v1/licenses/_license.json.jbuilder index 58b9282..607ce60 100644 --- a/app/views/v1/licenses/_license.json.jbuilder +++ b/app/views/v1/licenses/_license.json.jbuilder @@ -1,10 +1,6 @@ json.id license.id json.partial! 'v1/licenses/well_type', well_type: license.well_type - json.location do - json.township license.location.township - json.latitude license.location.latitude - json.longitude license.location.longitude - end + json.partial! 'v1/licenses/location', location: license.location json.company do json.name license.company.name end |
