Allow adding tracking code for webstatistics service. E.g. piwik.

This commit is contained in:
Benjamin Meichsner 2014-09-21 14:01:21 +02:00 committed by wvengen
parent 459b2826d3
commit 81d22e6077
2 changed files with 7 additions and 1 deletions

View file

@ -25,3 +25,4 @@
I18n.locale = "#{I18n.locale}";
I18n.fallbacks = true;
= yield(:javascript)
= raw FoodsoftConfig[:webstats_tracking_code]

View file

@ -123,6 +123,11 @@ default: &defaults
encoding: utf8
socket: /opt/lampp/var/mysql/mysql.sock
# Uncomment to add tracking code for web statistics, e.g. piwik
#webstats_tracking_code: |
# <!-- Piwik -->
# ......
development:
<<: *defaults