From 3c4975ddf0a658d6dba55dffa089021df43828df Mon Sep 17 00:00:00 2001 From: Alexander Machehin Date: Wed, 18 Jul 2012 15:43:17 +0600 Subject: [PATCH] [refs #183] do not track dev --- app/views/layouts/application.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/layouts/application.html.haml b/app/views/layouts/application.html.haml index 642d9b82e..9bce9bc2b 100644 --- a/app/views/layouts/application.html.haml +++ b/app/views/layouts/application.html.haml @@ -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?