comparison app/helpers/application_helper.rb @ 175:52252ae4b580

Static tag because it's supposed to be the same across rsstweet installs
author nanaya <me@nanaya.pro>
date Tue, 02 Oct 2018 23:58:36 +0900
parents df4be896ab8b
children 70e90ea4b870
comparison
equal deleted inserted replaced
174:d35dbc09bd83 175:52252ae4b580
1 module ApplicationHelper 1 module ApplicationHelper
2 include Twitter::TwitterText::Autolink 2 include Twitter::TwitterText::Autolink
3 3
4 def atom_id(id) 4 def atom_id(id)
5 "tag:#{request.host},2005:#{id}" 5 "tag:rsstweet@nanaya.pro,2014:#{id}"
6 end 6 end
7 7
8 def expand_url(text, *urls) 8 def expand_url(text, *urls)
9 urls.flatten! 9 urls.flatten!
10 10