diff --git a/app/views/layouts/application.html.slim b/app/views/layouts/application.html.slim index 9c501affa..16fa37c89 100644 --- a/app/views/layouts/application.html.slim +++ b/app/views/layouts/application.html.slim @@ -35,3 +35,4 @@ html == yield :additional_scripts if content_for?(:additional_scripts) == render '/layouts/scroller' + == render 'layouts/counters' if Rails.env.production? diff --git a/app/views/layouts/sessions.html.slim b/app/views/layouts/sessions.html.slim index f5091b3ea..bf4fcb870 100644 --- a/app/views/layouts/sessions.html.slim +++ b/app/views/layouts/sessions.html.slim @@ -26,3 +26,4 @@ html == javascript_include_tag 'moment/ru.js', cache: 'moment' == javascript_include_tag 'angular-locale_ru-ru', cache: 'angular-locale' == yield :additional_scripts if content_for?(:additional_scripts) + == render 'layouts/counters' if Rails.env.production?