Merge pull request #573 from warpc/183-track_only_production
[refs #183] Do not track in dev env
This commit is contained in:
commit
1c18ee48b2
|
@ -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?
|
||||
|
|
Loading…
Reference in New Issue