Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
romsar authored Jul 18, 2024
1 parent ec6331e commit 1482793
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ Unfortunately (or fortunately) we do not have the advantages of such a framework
In this regard, we have to do some things manually that are done automatically in frameworks.

One of them is displaying validation errors after redirects via `Location` and `Back` methods.
You have to write your own implementation of `gonertia.FlashProvider` which will have to store error data into the user's session and return this data (you can get the user ID from the context depending on your application).
You have to write your own implementation of `gonertia.FlashProvider` which will have to store error data into the user's session and return this data (you can get the session ID from the context depending on your application).

```go
i, err := inertia.New(
Expand Down

0 comments on commit 1482793

Please sign in to comment.