Skip to content

Commit

Permalink
Fixes fortify redirect route
Browse files Browse the repository at this point in the history
  • Loading branch information
nunomaduro committed Nov 27, 2023
1 parent 2ba4d29 commit e9e004c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Console/InstallCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@ public function handle()
// Storage...
$this->callSilent('storage:link');

$this->replaceInFile('/home', '/dashboard', config_path('fortify.php'));

if (file_exists(resource_path('views/welcome.blade.php'))) {
$this->replaceInFile('/home', '/dashboard', resource_path('views/welcome.blade.php'));
$this->replaceInFile('Home', 'Dashboard', resource_path('views/welcome.blade.php'));
Expand Down

0 comments on commit e9e004c

Please sign in to comment.