Mercurial > rsstweet
diff 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 |
line wrap: on
line diff
--- a/app/views/tweets/show.atom.erb Thu Jul 28 03:56:56 2016 +0900 +++ b/app/views/tweets/show.atom.erb Thu Jul 28 04:25:47 2016 +0900 @@ -12,5 +12,5 @@ <%= @tweets.first.try(:created_at) || Time.at(0) %> </updated> - <%= render :partial => "tweet", :collection => @tweets, :cached => ->(f) { f.id } %> + <%= render :partial => "tweet", :collection => @tweets, :cached => true %> </feed>