During integration tests, when the browser would open the page with the sketchily iframe, I'd get the error "@template variable inside controllers is nil". Not sure why it appeared only in tests. I made this change to avoid that error.

To be honest, I still find the template-controller relationship confusing from an Rails-internals point of view, so if you have a better idea I'd like to know what it is :)