app/views/clipster/clips/clips.atom.builder in clipster-0.5.2 vs app/views/clipster/clips/clips.atom.builder in clipster-0.5.3
- old
+ new
@@ -1,20 +1,20 @@
-atom_feed do |feed|
- feed.title("Clipster - Recent")
- feed.updated(@updated_at) unless @updated_at.nil?
-
- @clips.each do |clip|
- feed.entry(clip) do |entry|
- if clip.expires.nil?
- entry.title("#{clip.title}. A #{clip.language} clip that never expires.")
- else
- entry.title("#{clip.title}. A #{clip.language} clip that expires on #{clip.expires}.")
- end
- entry.content('<div class="clip">' + clip.div.html_safe + '</div>', :type => 'html')
-
- #TODO set author once user integration is compleate
- #entry.author do |author|
- # author.name("DHH")
- #end
- end
- end
+atom_feed do |feed|
+ feed.title("Clipster - Recent")
+ feed.updated(@updated_at) unless @updated_at.nil?
+
+ @clips.each do |clip|
+ feed.entry(clip) do |entry|
+ if clip.expires.nil?
+ entry.title("#{clip.title}. A #{clip.language} clip that never expires.")
+ else
+ entry.title("#{clip.title}. A #{clip.language} clip that expires on #{clip.expires}.")
+ end
+ entry.content('<div class="clip">' + clip.div.html_safe + '</div>', :type => 'html')
+
+ #TODO set author once user integration is compleate
+ #entry.author do |author|
+ # author.name("DHH")
+ #end
+ end
+ end
end
\ No newline at end of file