Skip to content

Commit

Permalink
Revert "I think we can remove the method "through()" from here" (ding…
Browse files Browse the repository at this point in the history
  • Loading branch information
thilanga authored Jan 3, 2018
1 parent 312781d commit 5796f72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Http/Middleware/Request.php
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ protected function sendRequestThroughRouter(HttpRequest $request)
{
$this->app->instance('request', $request);

return (new Pipeline($this->app))->send($request)->then(function ($request) {
return (new Pipeline($this->app))->send($request)->through($this->middleware)->then(function ($request) {
return $this->router->dispatch($request);
});
}
Expand Down

0 comments on commit 5796f72

Please sign in to comment.