I'm trying to get a nested partial to display, but yield keeps displaying the previous render's yield.
I have a view:
<%= render( :partial => 'user/edit_photo', :layout => 'shared/edit' ) %>
The partial's layout:
When the page actually renders, the partial's yield outputs 'shared/ edit/title'. When I remove the rendering of 'shared/edit/title', the yield correctly outputs 'user/edit_photo'. Why? If you are wondering why the view just renders a partial, it is because I have a layout that wraps the view and wanted another layout that would do some more wrapping.