comparison app/views/tweets/_tweet.atom.erb @ 94:0c8a8b390145

Now with epic caching And kicking out builder because I can't figure out how to cache it ;_;
author nanaya <me@myconan.net>
date Thu, 28 Jul 2016 03:49:08 +0900
parents
children f4805ac41656
comparison
equal deleted inserted replaced
93:5cc4aab05c55 94:0c8a8b390145
1 <entry>
2 <id><%= atom_id "#{tweet.user.id}/#{tweet.id}" %></id>
3 <published><%= tweet.created_at %></published>
4 <updated><%= tweet.created_at %></updated>
5 <link rel="alternate" type="text/html" href="<%= tweet.uri %>"/>
6 <title><%= ellipsize tweet.text %></title>
7 <content type="html">
8 <%= render(:partial => "tweet", :formats => :html, :locals => { :tweet => tweet }).to_str %>
9 </content>
10 <author>
11 <name><%= tweet.user.screen_name %></name>
12 </author>
13 </entry>