nexcess/magento-turpentine — pull request #547 by skolodyazhnyy (2014-05-24 11:42:45+00:00)
Title: Add layout_load_before event dispatching

Hi,

I have added layout load event dispatching to ESI Controller, so now extensions can add their handles to Layout Update in the same way as it works when you call `loadLayout` in controller.

I didn't really get how `_swapCustomerHandles` works, but with my fix `customer_logged_out` and `customer_logged_in` was added correctly.

Hard to say that it's the best solution, but it seems that there is no good solution at all :) This work for me.

Thanks in advance!