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'