diff --git a/app/views/layouts/application.html.slim b/app/views/layouts/application.html.slim index d00802776..f57a841aa 100644 --- a/app/views/layouts/application.html.slim +++ b/app/views/layouts/application.html.slim @@ -14,7 +14,7 @@ html link href='https://fonts.googleapis.com/css?family=Montserrat' rel='stylesheet' type='text/css' == stylesheet_link_tag 'new_application', cache: 'application' - body[ ng-app='RosaABF' ng-controller='RosaABFController' ng-strict-di='' class="hamburg" + body[ ng-app='RosaABF' ng-controller='RosaABFController' ng-strict-di='' class="hamburger" ng-init="init('#{I18n.locale}', #{!!current_user.try(:sound_notifications)})" ng-cloak="true"] .page-wrapper ng-class="{'open': toggle}" .sidebar-wrapper @@ -45,4 +45,4 @@ html == yield :additional_scripts if content_for?(:additional_scripts) - if I18n.locale == :ru == javascript_include_tag 'moment/ru.js', cache: 'moment' - == javascript_include_tag 'angular-locale_ru-ru', cache: 'angular-locale' \ No newline at end of file + == javascript_include_tag 'angular-locale_ru-ru', cache: 'angular-locale'