laravel/docs — pull request #178 by dshoreman (2013-03-29 12:17:27+00:00)
Title: Fix templates for new view injection method

Not 100% sure if this is the "correct" way to do it now, or whether it's intended for something else.

The method currently in the docs isn't working though, and View::inject() looks like it's made for this purpose. Maybe?

Example paste: http://paste.laravel.com/lZe