Skip to content

Commit 3e4f4a3

Browse files
author
Josh Brown
committed
Added flash data example
1 parent 6209df5 commit 3e4f4a3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

responses.md

+4
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,10 @@ A `Response` instance inherits from the `Symfony\Component\HttpFoundation\Respon
3939

4040
return Redirect::to('user/login');
4141

42+
**Returning A Redirect With Flash Data**
43+
44+
return Redirect::to('user/login')->with('message', 'Login Failed');
45+
4246
**Returning A Redirect To A Named Route**
4347

4448
return Redirect::route('login');

0 commit comments

Comments
 (0)