Skip to content

Commit

Permalink
Merge pull request otwcode#512 from elzj/issue-2930-feed-errors
Browse files Browse the repository at this point in the history
Issue 2930: fixing tag feed errors
  • Loading branch information
neuroalien committed Mar 4, 2012
2 parents 4e71a7e + 34c71c1 commit d54b6d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/helpers/works_helper.rb
Expand Up @@ -172,7 +172,7 @@ def download_url_for_work(work, format)
def feed_summary(work)
tags = work.tags.group_by(&:type)
text = "<p>by #{byline(work, :visibility => 'public')}</p>"
text << work.summary
text << work.summary if work.summary
text << "<p>Words: #{work.word_count}, Chapters: #{work.chapter_total_display}, Language: #{work.language ? work.language.name : 'English'}</p>"
unless work.series.count == 0
text << "<p>Series: #{series_list_for_feeds(work)}</p>"
Expand Down

0 comments on commit d54b6d0

Please sign in to comment.