Skip to content

Commit

Permalink
Fix route registration
Browse files Browse the repository at this point in the history
  • Loading branch information
simonhamp authored Mar 28, 2024
1 parent 0bbe2a5 commit e6dc6aa
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions src/ServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,12 @@ protected function configure()

protected function registerRoutes()
{
Route::group([
'prefix' => 'stripe-connect',
'as' => 'stripe-connect.',
'middleware' => 'auth',
], function () {
$this->loadRoutesFrom(__DIR__.'/../routes/web.php');
});
Route::middleware(['web', 'auth'])
->as('stripe-connect.')
->prefix('stripe-connect')
->group(function () {
$this->loadRoutesFrom(__DIR__.'/../routes/web.php');
});
}

protected function registerMigrations()
Expand Down

0 comments on commit e6dc6aa

Please sign in to comment.