Skip to content

Commit

Permalink
Update example redirect code to reflect docs (laravel#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
dan-mesa authored Jun 6, 2021
1 parent 983b7e2 commit 1c33544
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 2.x/building-your-app.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,5 +63,5 @@ To instruct Jetstream to display the banner, you must flash a `flash.banner` mes
$request->session()->flash('flash.banner', 'Yay it works!');
$request->session()->flash('flash.bannerStyle', 'success');

return $this->redirect('/');
return redirect('/');
```

0 comments on commit 1c33544

Please sign in to comment.