From da70238667320a873b0ca3d728e74fccfadcff7d Mon Sep 17 00:00:00 2001 From: Karina Kwiatek Date: Thu, 12 Aug 2021 01:18:10 +0200 Subject: [PATCH] Fix linter errors --- app/views/layouts/base.haml | 2 +- app/views/navigation/_desktop.haml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/layouts/base.haml b/app/views/layouts/base.haml index dab321da..b7c0e155 100644 --- a/app/views/layouts/base.haml +++ b/app/views/layouts/base.haml @@ -23,7 +23,7 @@ = csrf_meta_tags = yield(:og) = yield(:meta) - %body{ class: user_signed_in? ? '' : 'not-logged-in'} + %body{ class: user_signed_in? ? '' : 'not-logged-in' } - if user_signed_in? = render 'navigation/main' - else diff --git a/app/views/navigation/_desktop.haml b/app/views/navigation/_desktop.haml index 8e17bb3a..485634cd 100644 --- a/app/views/navigation/_desktop.haml +++ b/app/views/navigation/_desktop.haml @@ -17,4 +17,4 @@ %li.nav-item.d-none.d-sm-block{ data: { toggle: 'tooltip', placement: 'bottom' }, title: t('views.actions.ask_question') } %a.nav-link{ href: '#', name: 'toggle-all-ask', data: { target: '#modal-ask-followers', toggle: :modal } } %i.fa.fa-pencil-square-o - = render 'navigation/main/profile' \ No newline at end of file + = render 'navigation/main/profile'