Commit 633c2bde by Taylor Otwell

Pass the path to the filter event.

parent a976c555
...@@ -374,7 +374,7 @@ class View implements ArrayAccess { ...@@ -374,7 +374,7 @@ class View implements ArrayAccess {
// us do something like run the contents through Jade, etc. // us do something like run the contents through Jade, etc.
if (Event::listeners('view.filter')) if (Event::listeners('view.filter'))
{ {
return Event::first('view.filter', $content); return Event::first('view.filter', array($content, $this->path));
} }
return $content; return $content;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment