Skip to content

Commit

Permalink
Update welcome blade file
Browse files Browse the repository at this point in the history
  • Loading branch information
zacksmash committed Jan 19, 2021
1 parent f61c6d8 commit cfaa1df
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/Commands/FortifyUICommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,15 @@ protected function updateRoutes()
"\nRoute::view('dashboard', 'dashboard')\n\t->name('dashboard')\n\t->middleware(['auth', 'verified']);\n"
);

File::put(
resource_path('views/welcome.blade.php'),
str_replace(
"{{ url('/home') }}",
"{{ url('/dashboard') }}",
File::get(resource_path('views/welcome.blade.php'))
)
);

File::put(
app_path('providers/RouteServiceProvider.php'),
str_replace(
Expand Down

0 comments on commit cfaa1df

Please sign in to comment.