Skip to content

Commit

Permalink
[1.x] Fix route prefix (#152)
Browse files Browse the repository at this point in the history
* Fix wrong prefix config option

* Fix config documentation typo

Co-authored-by: Dominique Leibundgut <dominique.leibundgut@gmail.com>
  • Loading branch information
Tarzis and Tarzis authored Nov 17, 2020
1 parent 478c19d commit 673f59c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/FortifyServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ protected function configureRoutes()
Route::group([
'namespace' => 'Laravel\Fortify\Http\Controllers',
'domain' => config('fortify.domain', null),
'prefix' => config('fortify.path'),
'prefix' => config('fortify.prefix'),
], function () {
$this->loadRoutesFrom(__DIR__.'/../routes/routes.php');
});
Expand Down
2 changes: 1 addition & 1 deletion stubs/fortify.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
| Fortify Routes Prefix / Subdomain
|--------------------------------------------------------------------------
|
| Here you may specify which prefix Fortify will assign to the all routes
| Here you may specify which prefix Fortify will assign to all the routes
| that it registers with the application. If necessary, you may change
| subdomain under which all of the Fortify routes will be available.
|
Expand Down

0 comments on commit 673f59c

Please sign in to comment.