Mercurial > rsstweet
changeset 102:f4805ac41656
Fix title
author | nanaya <me@myconan.net> |
---|---|
date | Fri, 23 Sep 2016 23:10:54 +0900 |
parents | e7a665227638 |
children | 1251b3d6ec5d |
files | app/views/tweets/_tweet.atom.erb |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/app/views/tweets/_tweet.atom.erb Fri Sep 23 23:02:24 2016 +0900 +++ b/app/views/tweets/_tweet.atom.erb Fri Sep 23 23:10:54 2016 +0900 @@ -3,7 +3,7 @@ <published><%= tweet.created_at %></published> <updated><%= tweet.created_at %></updated> <link rel="alternate" type="text/html" href="<%= tweet.uri %>"/> - <title><%= ellipsize tweet.text %></title> + <title><%= ellipsize tweet.to_hash[:full_text] %></title> <content type="html"> <%= render(:partial => "tweet", :formats => :html, :locals => { :tweet => tweet }).to_str %> </content>