Skip to content

Commit 63708d6

Browse files
committed
Documentation: typo
Signed-off-by: Pierre Bertet <bonjour@pierrebertet.net>
1 parent 1e7917a commit 63708d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

laravel/documentation/views/home.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ Now each time the "home" view is created, an instance of the View will be passed
184184
<a name="redirects"></a>
185185
## Redirects
186186

187-
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.
187+
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.
188188

189189
#### Redirecting to another URI:
190190

0 commit comments

Comments
 (0)