diff app/views/tweets/_tweet.atom.erb @ 102:f4805ac41656

Fix title
author nanaya <me@myconan.net>
date Fri, 23 Sep 2016 23:10:54 +0900
parents 0c8a8b390145
children f2398d2a6859
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>