BigW Consortium Gitlab

Commit 41cee8c3 by Alfredo Sumaran

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

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