rails/rails — pull request #15036 by apotonick (2014-05-09 01:37:32+00:00)
Title: Remove LookupContext#with_layout_format

# Summary

This PR removes `LookupContext#with_layout_format` by simply passing formats explicitely.

# Implementation

By passing layout formats explicitly to the respective stakeholder methods, we can remove `#with_layout_format` which is a horrible implementation, as it relies on a modal interfaces and (temporarily) changes global data.