Skip to content

Commit

Permalink
Work on documentation note to Redirect->with.
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Aug 22, 2013
1 parent 3d1d5d3 commit 12cece3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion responses.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ A `Response` instance inherits from the `Symfony\Component\HttpFoundation\Respon

return Redirect::to('user/login')->with('message', 'Login Failed');

Since the `with()` method flashes the data to the session, you can retrieve it using `Session::get('message')`.
> **Note:** Since the `with` method flashes data to the session, you may retrieve the data using the typical `Session::get` method.
**Returning A Redirect To A Named Route**

Expand Down

0 comments on commit 12cece3

Please sign in to comment.