silverstripe/silverstripe-framework — pull request #3203 by mateusz (2014-06-12 03:46:56+00:00)
Title: Fetch the nearest Controller instead of relying on global state.

Controller:curr() in this context are equivalent to calling
getToplevelController() which already solves the issue of nested
GridFields.