BigW Consortium Gitlab

Commit c877b152 by Nur Rony

removes extra if check

parent 0bde5c94
...@@ -8,11 +8,10 @@ ...@@ -8,11 +8,10 @@
= render 'shared/issuable/nav', type: :issues = render 'shared/issuable/nav', type: :issues
- if current_user - if current_user
.nav-controls .nav-controls
- if current_user = link_to url_for(params.merge(format: :atom, private_token: current_user.private_token)), class: 'btn' do
= link_to url_for(params.merge(format: :atom, private_token: current_user.private_token)), class: 'btn' do = icon('rss')
= icon('rss') %span.icon-label
%span.icon-label Subscribe
Subscribe
= render 'shared/new_project_item_select', path: 'issues/new', label: "New Issue" = render 'shared/new_project_item_select', path: 'issues/new', label: "New Issue"
= render 'shared/issuable/filter', type: :issues = render 'shared/issuable/filter', type: :issues
......
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