Use Google Analytics script only in production

This commit is contained in:
Marcin Kulik 2015-03-29 18:07:13 +00:00
parent b619302e3e
commit aa923c734a

View File

@ -10,7 +10,7 @@ html[lang="en"]
= javascript_include_tag "application" = javascript_include_tag "application"
= javascript_include_tag "player" = javascript_include_tag "player"
= favicon_link_tag 'favicon.png' = favicon_link_tag 'favicon.png'
= render 'layouts/ga' = render 'layouts/ga' if Rails.env.production?
body body
= render 'layouts/header' = render 'layouts/header'
= render 'shared/flash' = render 'shared/flash'