Mercurial > rsstweet
comparison app/helpers/application_helper.rb @ 170:05ce14af003a
port can't be part of the id
author | nanaya <me@nanaya.pro> |
---|---|
date | Wed, 08 Aug 2018 20:19:41 +0900 |
parents | 950849c40d42 |
children | 90db232f39e7 |
comparison
equal
deleted
inserted
replaced
169:04ca6c4f11d0 | 170:05ce14af003a |
---|---|
8 "#{text.first(limit)}..." | 8 "#{text.first(limit)}..." |
9 end | 9 end |
10 end | 10 end |
11 | 11 |
12 def atom_id(id) | 12 def atom_id(id) |
13 "tag:#{request.host_with_port},2005:#{id}" | 13 "tag:#{request.host},2005:#{id}" |
14 end | 14 end |
15 | 15 |
16 def expand_url(text, *urls) | 16 def expand_url(text, *urls) |
17 urls.flatten! | 17 urls.flatten! |
18 | 18 |