From 01c29420373802d37398bea920e795c8e2f71140 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20Pawe=C5=82=20Gajc?= Date: Tue, 7 Aug 2018 15:01:06 +0200 Subject: [PATCH] use hamburger menu on mobiles --- app/views/layouts/application.html.slim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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'