]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/layouts/site.html.erb
Move sidebar pagination to helpers
[rails.git] / app / views / layouts / site.html.erb
index ca59f5763ee4bca50ce7eeb049d899c255e0d3b4..7c921658d46102d54b720eb5deb57a7107f07d9b 100644 (file)
@@ -4,8 +4,8 @@
   <body class="<%= body_class %>">
     <%= render :partial => "layouts/header" %>
     <%= render :partial => "layouts/content" %>
-    <% if defined?(PIWIK) -%>
-    <noscript><p><img src="<%= request.protocol %><%= PIWIK["location"] %>/piwik.php?idsite=<%= PIWIK["site"] %>" class="piwik" alt="" /></p></noscript>
+    <% if defined?(Settings.matomo) -%>
+    <noscript><p><img src="<%= request.protocol %><%= Settings.matomo["location"] %>/matomo.php?idsite=<%= Settings.matomo["site"] %>" class="matomo" alt="" /></p></noscript>
     <% end -%>
   </body>
 </html>