BigW Consortium Gitlab

Dont render dashbaord nav if user is not signed in

parent 5f3b2be8
......@@ -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'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment