Commit 203bc7bb authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Hide some filters if current_user is nil

parent 9d33c726
= form_tag project_entities_path, method: 'get' do = form_tag project_entities_path, method: 'get' do
%fieldset %fieldset
- if current_user
%ul.nav.nav-pills.nav-stacked %ul.nav.nav-pills.nav-stacked
%li{class: ("active" if params[:scope].blank?)} %li{class: ("active" if params[:scope].blank?)}
= link_to project_filter_path(scope: nil) do = link_to project_filter_path(scope: nil) 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