Skip to content

Commit 771176e

Browse files
committed
Merge pull request laravel#2259 from mchelen/patch-1
remind reader where the routes are defined
2 parents 2780bea + 2b112af commit 771176e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

quickstart.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ Next, we're ready to add code to our `POST /task` route to handle the incoming f
278278
<a name="validation"></a>
279279
### Validation
280280

281-
Now that we have a form in our view, we need to add code to our `POST /task` route to validate the incoming form input and create a new task. First, let's validate the input.
281+
Now that we have a form in our view, we need to add code to our `POST /task` route in `app/Http/routes.php` to validate the incoming form input and create a new task. First, let's validate the input.
282282

283283
For this form, we will make the `name` field required and state that it must contain less than `255` characters. If the validation fails, we will redirect the user back to the `/` URL, as well as flash the old input and errors into the [session](/docs/{{version}}/session). Flashing the input into the session will allow us to maintain the user's input even when there are validation errors:
284284

0 commit comments

Comments
 (0)