diff --git a/src/Connect.php b/src/Connect.php index 5d60239..8fdf911 100644 --- a/src/Connect.php +++ b/src/Connect.php @@ -365,7 +365,7 @@ class Connect public function routes() { Route::middleware('web') - ->namespace('Bluesquare\Connect\Controllers') + ->namespace('\Bluesquare\Connect\Controllers') ->group(function () { Route::get('connect/authorize', 'ConnectController@authorize'); Route::get('connect/callback', 'ConnectController@callback'); @@ -373,7 +373,7 @@ class Connect Route::prefix('api') ->middleware('api') - ->namespace('Bluesquare\Connect\Controllers') + ->namespace('\Bluesquare\Connect\Controllers') ->group(function () { Route::post('connect/webhook', 'ConnectController@webhook'); });