Skip to content

Commit

Permalink
Merge pull request #7 from aw-studio/fix/add-router-container
Browse files Browse the repository at this point in the history
Add app container in order to fix router
  • Loading branch information
jannescb authored Jan 4, 2023
2 parents bde8440 + 20de6a9 commit 761a33a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/RedirectsServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public function register()
public function boot()
{
$this->app->bind(RedirectRouter::class, function ($app) {
$router = new Router($app['events']);
$router = new Router($app['events'], $app);

return new RedirectRouter($router, $app['cache']);
});
Expand Down

0 comments on commit 761a33a

Please sign in to comment.