Merge pull request #573 from warpc/183-track_only_production

[refs #183] Do not track in dev env
This commit is contained in:
Vladimir Sharshov 2012-07-18 03:13:27 -07:00
commit 1c18ee48b2
1 changed files with 1 additions and 1 deletions

View File

@ -54,4 +54,4 @@
.both
%footer= render "layouts/menu/bottom"
= render 'layouts/counters' unless current_user.try(:admin?)
= render 'layouts/counters' if !current_user.try(:admin?) && Rails.env.production?