Rails rendering assumes that the first prefix encountered is 'special', specifically, it's the controller's prefix. This can be seen in ActionView::AbstractRenderer::ObjectRendering#initialize. This change injects the controller path at the start of the prefix list instead of the end to make sure this assumption is satisfied.
Rails rendering assumes that the first prefix encountered is 'special', specifically, it's the controller's prefix. This can be seen in
ActionView::AbstractRenderer::ObjectRendering#initialize
. This change injects the controller path at the start of the prefix list instead of the end to make sure this assumption is satisfied.Resolves #2729.