Commit 41cee8c3 authored by Alfredo Sumaran's avatar Alfredo Sumaran

Do not display filters if user if there's no current_user

parent 3f574c4d
......@@ -21,6 +21,7 @@
%li
= link_to filter_projects_path(sort: @sort, archived: true), class: ("is-active" if params[:archived].present?) do
Show archived projects
- if current_user
%li.divider
%li
= link_to filter_projects_path(sort: @sort, personal: nil), class: ("is-active" unless personal) do
......
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