Use Google Analytics script only in production
This commit is contained in:
parent
b619302e3e
commit
aa923c734a
@ -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'
|
||||||
|
Loading…
Reference in New Issue
Block a user