Documentation: typo

Signed-off-by: Pierre Bertet <bonjour@pierrebertet.net>
This commit is contained in:
Pierre Bertet 2013-01-08 16:57:52 +01:00
parent 1e7917adea
commit 63708d64e0
1 changed files with 1 additions and 1 deletions

View File

@ -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: