Skip to content

Commit

Permalink
[1.x] Rename path to prefix for route config (#504)
Browse files Browse the repository at this point in the history
* Rename path to prefix for route config

* Fall back to path config key

* Oops - now it falls back to path

Co-authored-by: Alex Pestell <[email protected]>
  • Loading branch information
unlikenesses and unlikenesses authored Dec 2, 2020
1 parent c32ee30 commit e675d5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/JetstreamServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ protected function configureRoutes()
Route::group([
'namespace' => 'Laravel\Jetstream\Http\Controllers',
'domain' => config('jetstream.domain', null),
'prefix' => config('jetstream.path', null),
'prefix' => config('jetstream.prefix', config('jetstream.path')),
], function () {
$this->loadRoutesFrom(__DIR__.'/../routes/'.config('jetstream.stack').'.php');
});
Expand Down

0 comments on commit e675d5f

Please sign in to comment.