diff options
| author | cedricnjanga | 2018-05-22 11:36:48 -0700 | 
|---|---|---|
| committer | cedricnjanga | 2018-05-22 11:36:48 -0700 | 
| commit | 61b11f2fb6fd294b6fae434b52bebebf1aa264a1 (patch) | |
| tree | cb8473479c9eb9e80aa2fb3d77fd887ea3b7cd06 | |
| parent | dd33794e295d5978abb7ccbbf5ded6a40ab42a2f (diff) | |
| download | chouette-core-6827-companies-show-short-id.tar.bz2 | |
Refs #6827 Display short_id on companies#show6827-companies-show-short-id
| -rw-r--r-- | app/views/companies/show.html.slim | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/app/views/companies/show.html.slim b/app/views/companies/show.html.slim index 8960b92dd..6335d88da 100644 --- a/app/views/companies/show.html.slim +++ b/app/views/companies/show.html.slim @@ -6,7 +6,7 @@    .container-fluid      .row        .col-lg-6.col-md-6.col-sm-12.col-xs-12 -        - attributes = { t('id_codif') => @company.try(:objectid).try(:local_id), +        - attributes = { t('id_codif') => @company.get_objectid.try(:short_id),            Chouette::Company.human_attribute_name(:phone) => @company.phone,            Chouette::Company.human_attribute_name(:email) => @company.email,            Chouette::Company.human_attribute_name(:url) => @company.url } | 
