Skip to content

Commit

Permalink
Resolve Problem with relocation of Router in Lumen (barryvdh#718)
Browse files Browse the repository at this point in the history
Due to this commit laravel/lumen-framework@7018d57 on the Lumen 5.5 branch, the core methods required for Routing have been moved to Laravel\Lumen\Routing\Router rather than it residing within the Lumen Application.
  • Loading branch information
Upperfoot authored and barryvdh committed Sep 7, 2017
1 parent a59bd27 commit 322bafa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/LumenServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class LumenServiceProvider extends ServiceProvider
*/
protected function getRouter()
{
return $this->app;
return $this->app->router;
}

/**
Expand Down

0 comments on commit 322bafa

Please sign in to comment.