Commit e9606fb3 authored by Sam Rose's avatar Sam Rose

Render modal template only when signed in

parent f5884721
......@@ -15,7 +15,8 @@
= auto_discovery_link_tag(:atom, url_for(params.merge(format: :atom, private_token: current_user.private_token)), title: "#{@project.name} issues")
- if project_issues(@project).exists?
= render "projects/issues/export_issues/csv_download"
- if current_user
= render "projects/issues/export_issues/csv_download"
%div{ class: (container_class) }
.top-area
= render 'shared/issuable/nav', 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