Documentation: typo
Signed-off-by: Pierre Bertet <bonjour@pierrebertet.net>
This commit is contained in:
parent
1e7917adea
commit
63708d64e0
|
@ -184,7 +184,7 @@ #### Register a composer that handles multiple views:
|
|||
<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:
|
||||
|
||||
|
|
Loading…
Reference in New Issue