Skip to content
Snippets Groups Projects
Unverified Commit 63c59119 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Dont render dashbaord nav if user is not signed in

parent 5f3b2be8
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -3,7 +3,7 @@
.sidebar-wrapper
- if defined?(sidebar)
= render(sidebar)
- else
- elsif current_user
= render 'layouts/nav/dashboard'
.collapse-nav
= render partial: 'layouts/collapse_button'
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment