Skip to content

Commit

Permalink
Merge pull request #9901 from krauselukas/fix_9899
Browse files Browse the repository at this point in the history
Prevent exception on review wanted rss feeds
  • Loading branch information
hennevogel committed Jul 10, 2020
2 parents ded2115 + 7d78e41 commit 7cb6f7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/app/views/webui/feeds/notifications.rss.builder
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ xml.rss version: '2.0' do

@notifications.each do |notification|
xml.item do
if notification.notifiable
if notification.notifiable && notification.event_type != 'Event::ReviewWanted'
xml.title notification.title
xml.description render(
template: "notifications/#{notification.template_name}",
Expand Down

0 comments on commit 7cb6f7b

Please sign in to comment.