From 633c2bde836f5a0b3898e85a28683ada645b6522 Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Wed, 26 Sep 2012 11:20:03 -0400 Subject: [PATCH] Pass the path to the filter event. --- laravel/view.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;