fuel/core — pull request #684 by kbanman (2011-11-23 07:17:36+00:00)
Title: Fix ViewModel referencing from outside a request context

Ran into an issue when trying to create a ViewModel from outside of a controller.
https://github.com/fuel/core/blob/1.1/develop/classes/viewmodel.php#L47 assumes that there is an active request, but I was instantiating a ViewModel in a class loaded before the request.