Skip to content

Commit

Permalink
Update call to display_name
Browse files Browse the repository at this point in the history
  • Loading branch information
aisayo committed Feb 14, 2024
1 parent 86378e0 commit 13571b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/stories_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ def export
@project.stories.includes(:comments).by_position.each do |story|
comments = []
story.comments.each do |comment|
comments << "#{comment.user.name}: #{comment.body}"
comments << "#{display_name(comment.user)}: #{comment.body}"
end
csv << [story.id, story.title, story.description, story.position] + comments
end
Expand Down

0 comments on commit 13571b5

Please sign in to comment.