comparison app/views/tweets/show.atom.erb @ 96:148d8c17cb79

Less monkeypatching rails, more monkeypatching tweet
author nanaya <me@myconan.net>
date Thu, 28 Jul 2016 04:25:47 +0900
parents dfd7daac110e
children 3ad8e6d20e79
comparison
equal deleted inserted replaced
95:dfd7daac110e 96:148d8c17cb79
10 10
11 <updated> 11 <updated>
12 <%= @tweets.first.try(:created_at) || Time.at(0) %> 12 <%= @tweets.first.try(:created_at) || Time.at(0) %>
13 </updated> 13 </updated>
14 14
15 <%= render :partial => "tweet", :collection => @tweets, :cached => ->(f) { f.id } %> 15 <%= render :partial => "tweet", :collection => @tweets, :cached => true %>
16 </feed> 16 </feed>