Commit 6a687344 by Taylor Otwell

Merge pull request #1354 from BlaineSch/develop

Pass the response by reference so it can be overwritten in filters
parents f1562875 81a2f5b9
......@@ -129,7 +129,7 @@ class Route {
// sure we have a valid Response instance.
$response = Response::prepare($response);
Filter::run($this->filters('after'), array($response));
Filter::run($this->filters('after'), array(&$response));
return $response;
}
......
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