adds check for logged in user in group issues

This commit is contained in:
Nur Rony 2016-12-02 21:46:50 +06:00
parent 1879613a99
commit 8d5f7e26cd

View file

@ -6,6 +6,7 @@
- if group_issues(@group).exists?
.top-area
= render 'shared/issuable/nav', type: :issues
- if current_user
.nav-controls
- if current_user
= link_to url_for(params.merge(format: :atom, private_token: current_user.private_token)), class: 'btn' do