diff options
author | Michael Kozono <mkozono@gmail.com> | 2017-02-28 23:50:57 +0300 |
---|---|---|
committer | Michael Kozono <mkozono@gmail.com> | 2017-02-28 23:50:57 +0300 |
commit | a2670ee06b05c1abf31c11972319c6a59ef6940a (patch) | |
tree | 618c159bac47314bd0861ac79538ae44a365a869 /app/views/projects/_activity.html.haml | |
parent | 05c8ec6cb85a3943b53cbd5757e7baea300dac68 (diff) |
Show public RSS feeds to anonymous users
Diffstat (limited to 'app/views/projects/_activity.html.haml')
-rw-r--r-- | app/views/projects/_activity.html.haml | 7 |
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' |