comparison app/views/tweets/show.atom.erb @ 122:5075b243d7d0

Add logo
author nanaya <me@myconan.net>
date Sat, 15 Apr 2017 03:01:16 +0900
parents 3ad8e6d20e79
children ee5876dd9b45
comparison
equal deleted inserted replaced
121:d7c13499626c 122:5075b243d7d0
5 <link rel="alternate" type="text/html" href="<%= request.protocol %><%= request.host_with_port %>" /> 5 <link rel="alternate" type="text/html" href="<%= request.protocol %><%= request.host_with_port %>" />
6 <link rel="self" type="application/atom+xml" href="<%= request.url %>" /> 6 <link rel="self" type="application/atom+xml" href="<%= request.url %>" />
7 7
8 <title><%= "#{@user.name} (#{@user.screen_name})" %></title> 8 <title><%= "#{@user.name} (#{@user.screen_name})" %></title>
9 <icon><%= @user.profile_image_url_https %></icon> 9 <icon><%= @user.profile_image_url_https %></icon>
10 <logo><%= @user.profile_image_url_https %></logo>
10 11
11 <updated><%= (@tweets.first.try(:created_at) || Time.at(0)).xmlschema %></updated> 12 <updated><%= (@tweets.first.try(:created_at) || Time.at(0)).xmlschema %></updated>
12 13
13 <%= render :partial => "tweet", :collection => @tweets, :cached => true %> 14 <%= render :partial => "tweet", :collection => @tweets, :cached => true %>
14 </feed> 15 </feed>