Skip to content

Commit

Permalink
The atom feed title should use the document index label
Browse files Browse the repository at this point in the history
  • Loading branch information
cbeer committed Sep 9, 2015
1 parent 9a09268 commit b85fbb4
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions app/views/catalog/_document_default.atom.builder
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
xml.entry do


xml.title document.to_semantic_values[:title][0] || presenter(document).render_document_index_label(document_show_link_field(document))

xml.title presenter(document).render_document_index_label(document_show_link_field(document))

# updated is required, for now we'll just set it to now, sorry
xml.updated Time.now.strftime("%Y-%m-%dT%H:%M:%SZ")
Expand Down

0 comments on commit b85fbb4

Please sign in to comment.