diff options
| -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 } | 
