Replace hardcoded phone numbers by a CONTACT_PHONE constant

This commit is contained in:
Pierre de La Morinerie 2018-06-25 11:12:42 +02:00
parent 51e256e122
commit 956c3fe36c
6 changed files with 11 additions and 5 deletions

View file

@ -27,7 +27,8 @@
.contact-details
Vous avez besoin daide ? Contactez-nous :
%br
par téléphone : 01 76 42 02 87
par téléphone :
= link_to CONTACT_PHONE, "tel:#{CONTACT_PHONE}"
%br
par email :
= link_to CONTACT_EMAIL, "mailto:#{CONTACT_EMAIL}"