Skip to content

Fix 500 errors in Atom feeds due to push events

Stan Hu requested to merge sh-fix-atom-feeds into master

Since PushEvent was introduced in 9.5, Rails attempts to render this in the Atom feed using the push_events/_push_event partial, which does not exist. To fix this, use an explicit path by overriding Rails' to_partial_path and adjusting the local assigns to match.

Closes #36705 (closed)

Edited by Stan Hu

Merge request reports