summaryrefslogtreecommitdiff
path: root/app/views/dashboard/issues.html.haml
diff options
context:
space:
mode:
authorMichael Kozono <mkozono@gmail.com>2017-02-28 12:50:57 -0800
committerMichael Kozono <mkozono@gmail.com>2017-02-28 12:50:57 -0800
commita2670ee06b05c1abf31c11972319c6a59ef6940a (patch)
tree618c159bac47314bd0861ac79538ae44a365a869 /app/views/dashboard/issues.html.haml
parent05c8ec6cb85a3943b53cbd5757e7baea300dac68 (diff)
downloadgitlab-ce-a2670ee06b05c1abf31c11972319c6a59ef6940a.tar.gz
Show public RSS feeds to anonymous users
Diffstat (limited to 'app/views/dashboard/issues.html.haml')
-rw-r--r--app/views/dashboard/issues.html.haml12
1 files changed, 5 insertions, 7 deletions
diff --git a/app/views/dashboard/issues.html.haml b/app/views/dashboard/issues.html.haml
index 653052f7c54..9a4e423f896 100644
--- a/app/views/dashboard/issues.html.haml
+++ b/app/views/dashboard/issues.html.haml
@@ -1,17 +1,15 @@
- page_title "Issues"
- header_title "Issues", issues_dashboard_path(assignee_id: current_user.id)
= content_for :meta_tags do
- - if current_user
- = auto_discovery_link_tag(:atom, url_for(params.merge(format: :atom, private_token: current_user.private_token)), title: "#{current_user.name} issues")
+ = auto_discovery_link_tag(:atom, params.merge(rss_url_options), title: "#{current_user.name} issues")
.top-area
= render 'shared/issuable/nav', type: :issues
.nav-controls
- - if current_user
- = link_to url_for(params.merge(format: :atom, private_token: current_user.private_token)), class: 'btn' do
- = icon('rss')
- %span.icon-label
- Subscribe
+ = link_to params.merge(rss_url_options), class: 'btn' do
+ = icon('rss')
+ %span.icon-label
+ Subscribe
= render 'shared/new_project_item_select', path: 'issues/new', label: "New Issue"
= render 'shared/issuable/filter', type: :issues