Skip to content

Commit

Permalink
Fix broken link (#8829)
Browse files Browse the repository at this point in the history
  • Loading branch information
whoami15 authored May 31, 2023
1 parent 7d8524a commit e0dab4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion precognition.md
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ const submit = () => form.submit({

Using Laravel Precognition, you can offer live validation experiences to your users without having to duplicate your validation rules in your frontend React application. To illustrate how it works, let's build a form for creating new users within our application.

First, to enable Precognition for a route, the `HandlePrecognitiveRequests` middleware should be added to the route definition. You should also create a [form request](/docs/{version}/validation#form-request-validation) to house the route's validation rules:
First, to enable Precognition for a route, the `HandlePrecognitiveRequests` middleware should be added to the route definition. You should also create a [form request](/docs/{{version}}/validation#form-request-validation) to house the route's validation rules:

```php
use App\Http\Requests\StoreUserRequest;
Expand Down

0 comments on commit e0dab4b

Please sign in to comment.