mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
parent
89925e817c
commit
9ca58ba492
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ module ActionView
|
|||
# app/views/posts/index.atom.builder:
|
||||
# atom_feed do |feed|
|
||||
# feed.title("My great blog!")
|
||||
# feed.updated(@posts.first.created_at) if @posts.any?
|
||||
# feed.updated(@posts[0].created_at) if @posts.length > 0
|
||||
#
|
||||
# @posts.each do |post|
|
||||
# feed.entry(post) do |entry|
|
||||
|
|
Loading…
Reference in a new issue