Skip to content

Commit

Permalink
set output buffering in presence of container
Browse files Browse the repository at this point in the history
  • Loading branch information
juliangut committed May 18, 2018
1 parent e564f9d commit 0726a07
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Router.php
Original file line number Diff line number Diff line change
Expand Up @@ -194,10 +194,9 @@ protected function createMetadataRoute(

if ($this->container !== null) {
$route->setContainer($this->container);
$route->setOutputBuffering($this->container->get('settings')['outputBuffering']);
}

$route->setOutputBuffering($this->container->get('settings')['outputBuffering']);

return $route;
}
}

0 comments on commit 0726a07

Please sign in to comment.