diff --git a/src/ServiceProvider.php b/src/ServiceProvider.php index fae771b..556d2f7 100644 --- a/src/ServiceProvider.php +++ b/src/ServiceProvider.php @@ -15,7 +15,7 @@ public function boot() // add our middleware Statamic::booted(function () { - app('router')->prependMiddlewareToGroup('statamic.web', Http\Middleware\Redirects::class); + app('router')->prependMiddlewareToGroup('statamic.web', \Thoughtco\Redirects\Http\Middleware\Redirects::class); }); // after install we need to copy our global