annotate app/views/tweets/_tweet.atom.erb @ 212:1b2dbba1e119
Update rails and other gems
author |
nanaya <me@nanaya.pro> |
date |
Fri, 11 Dec 2020 03:33:37 +0900 |
parents |
e07f6ea17deb |
children |
7a773720d81f |
rev |
line source |
94
|
1 <entry>
|
|
2 <id><%= atom_id "#{tweet.user.id}/#{tweet.id}" %></id>
|
106
|
3 <published><%= tweet.created_at.xmlschema %></published>
|
|
4 <updated><%= tweet.created_at.xmlschema %></updated>
|
204
|
5 <link rel="alternate" type="text/html" href="<%= status_url(tweet) %>"/>
|
172
|
6 <title><%= truncate tweet.unescaped_text, :length => 30 %></title>
|
211
|
7 <content type="html">
|
|
8 <%= render(:partial => "tweet", :formats => :html, :locals => { :tweet => tweet }).to_str %>
|
94
|
9 </content>
|
|
10 <author>
|
|
11 <name><%= tweet.user.screen_name %></name>
|
|
12 </author>
|
|
13 </entry>
|