diff --git a/laravel/view.php b/laravel/view.php index 7807af2e..d2544d24 100644 --- a/laravel/view.php +++ b/laravel/view.php @@ -374,7 +374,7 @@ public function get() // us do something like run the contents through Jade, etc. if (Event::listeners('view.filter')) { - return Event::first('view.filter', $content); + return Event::first('view.filter', array($content, $this->path)); } return $content;