Pass the path to the filter event.

This commit is contained in:
Taylor Otwell 2012-09-26 11:20:03 -04:00
parent a976c555e6
commit 633c2bde83
1 changed files with 1 additions and 1 deletions

View File

@ -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;