This website requires JavaScript.
Explore
Help
Sign In
kotovalexarian-likes-gitlab
/
gitlab-org--gitlab-foss
Watch
1
Star
0
Fork
You've already forked gitlab-org--gitlab-foss
0
Code
Releases
Activity
d14b842820
gitlab-org--gitlab-foss
/
app
/
helpers
/
rss_helper.rb
6 lines
112 B
Ruby
Raw
Normal View
History
Unescape
Escape
Show public RSS feeds to anonymous users
2017-02-28 20:50:57 +00:00
module
RssHelper
def
rss_url_options
atom links with rss token instead of private token
2017-05-23 13:59:33 +00:00
{
format
:
:atom
,
rss_token
:
current_user
.
try
(
:rss_token
)
}
Show public RSS feeds to anonymous users
2017-02-28 20:50:57 +00:00
end
end