Skip to content

Commit 322bafa

Browse files
Upperfootbarryvdh
authored andcommitted
Resolve Problem with relocation of Router in Lumen (barryvdh#718)
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.
1 parent a59bd27 commit 322bafa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/LumenServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class LumenServiceProvider extends ServiceProvider
1414
*/
1515
protected function getRouter()
1616
{
17-
return $this->app;
17+
return $this->app->router;
1818
}
1919

2020
/**

0 commit comments

Comments
 (0)