summaryrefslogtreecommitdiff
path: root/app/views/projects/_activity.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/projects/_activity.html.haml
parent05c8ec6cb85a3943b53cbd5757e7baea300dac68 (diff)
downloadgitlab-ce-a2670ee06b05c1abf31c11972319c6a59ef6940a.tar.gz
Show public RSS feeds to anonymous users
Diffstat (limited to 'app/views/projects/_activity.html.haml')
-rw-r--r--app/views/projects/_activity.html.haml7
1 files changed, 3 insertions, 4 deletions
diff --git a/app/views/projects/_activity.html.haml b/app/views/projects/_activity.html.haml
index 4268337fd6d..aa0cb3e1a50 100644
--- a/app/views/projects/_activity.html.haml
+++ b/app/views/projects/_activity.html.haml
@@ -2,10 +2,9 @@
%div{ class: container_class }
.nav-block.activity-filter-block
- - if current_user
- .controls
- = link_to namespace_project_path(@project.namespace, @project, format: :atom, private_token: current_user.private_token), title: "Subscribe", class: 'btn rss-btn has-tooltip' do
- = icon('rss')
+ .controls
+ = link_to namespace_project_path(@project.namespace, @project, rss_url_options), title: "Subscribe", class: 'btn rss-btn has-tooltip' do
+ = icon('rss')
= render 'shared/event_filter'