Skip to content

Commit

Permalink
Don'e exclude GA based on env
Browse files Browse the repository at this point in the history
  • Loading branch information
rwdaigle committed Feb 20, 2012
1 parent a93d801 commit 54d0247
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion views/analytics.haml
@@ -1,4 +1,4 @@
- if ENV['RACK_ENV'] == 'production' && google_analytics_code = ENV['NESTA_PRODUCTION__GOOGLE_ANALYTICS_CODE']
- if google_analytics_code = ENV['NESTA_PRODUCTION__GOOGLE_ANALYTICS_CODE']
:javascript
var _gaq = _gaq || [];
_gaq.push(['_setAccount', '#{google_analytics_code}']);
Expand Down

0 comments on commit 54d0247

Please sign in to comment.