Commit 63708d64 authored by Pierre Bertet's avatar Pierre Bertet

Documentation: typo

Signed-off-by: 's avatarPierre Bertet <bonjour@pierrebertet.net>
parent 1e7917ad
......@@ -184,7 +184,7 @@ Now each time the "home" view is created, an instance of the View will be passed
<a name="redirects"></a>
## Redirects
It's important to note that both routes and controllers require responses to be returned with the 'return' directive. Instead of calling "Redirect::to()"" where you'd like to redirect the user. You'd instead use "return Redirect::to()". This distinction is important as it's different than most other PHP frameworks and it could be easy to accidentally overlook the importance of this practice.
It's important to note that both routes and controllers require responses to be returned with the 'return' directive. Instead of calling "Redirect::to()" where you'd like to redirect the user. You'd instead use "return Redirect::to()". This distinction is important as it's different than most other PHP frameworks and it could be easy to accidentally overlook the importance of this practice.
#### Redirecting to another URI:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment