comparison app/helpers/application_helper.rb @ 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 f91e2d00f03f
children c5c095f6981e
comparison
equal deleted inserted replaced
93:5cc4aab05c55 94:0c8a8b390145
6 text 6 text
7 else 7 else
8 "#{text.first(limit)}..." 8 "#{text.first(limit)}..."
9 end 9 end
10 end 10 end
11
12 def atom_id(id)
13 "tag:#{request.host_with_port},2005:#{id}"
14 end
11 end 15 end