1
0
REI-Fixed/app/helpers/atom_helper.rb

6 lines
165 B
Ruby
Raw Normal View History

2016-02-23 00:00:20 +09:00
module AtomHelper
def stream_updated_at
@account.stream_entries.last ? @account.stream_entries.last.created_at.iso8601 : @account.updated_at.iso8601
end
end