diff options
| author | mo khan <mo@mokhan.ca> | 2014-02-22 11:12:06 -0700 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2014-02-22 11:12:06 -0700 |
| commit | ef7eeb8ed18092bde97ebc30d249d32e56d5645f (patch) | |
| tree | 28b6d98b366230ee1a0e559272ffee18d38c9b3f /app/views | |
| parent | 64d63822a09d674d1257759b593a562711305d75 (diff) | |
found a weird bug with jbuilder and trying to render the location json node.
Diffstat (limited to 'app/views')
| -rw-r--r-- | app/views/v1/company_licenses/index.json.jbuilder (renamed from app/views/v1/company_licenses/index.jbuilder) | 0 | ||||
| -rw-r--r-- | app/views/v1/licenses/_license.json.jbuilder | 2 |
2 files changed, 1 insertions, 1 deletions
diff --git a/app/views/v1/company_licenses/index.jbuilder b/app/views/v1/company_licenses/index.json.jbuilder index 8228f3e..8228f3e 100644 --- a/app/views/v1/company_licenses/index.jbuilder +++ b/app/views/v1/company_licenses/index.json.jbuilder diff --git a/app/views/v1/licenses/_license.json.jbuilder b/app/views/v1/licenses/_license.json.jbuilder index c66fb3f..b62f91b 100644 --- a/app/views/v1/licenses/_license.json.jbuilder +++ b/app/views/v1/licenses/_license.json.jbuilder @@ -1,6 +1,6 @@ json.id license.id json.status license.status.to_s -json.partial! 'v1/licenses/location', location: license.location +#json.partial! 'v1/licenses/location', location: license.location if license.confidential? json.partial! 'v1/licenses/confidential_well_type', well_type: license.well_type json.partial! 'v1/licenses/confidential_company' |
