Skip to content

Commit

Permalink
Update sharing-data.md (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
lennyAiko authored Feb 18, 2024
1 parent 542f018 commit 56983be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/boring-stack/sharing-data.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ editLink: true

# Sharing data

If you have data that you want to be provided as prop to your SPA (a common use-case is informationa about the authenticated user) you can use the `sails.inertia.share` method.
If you have data that you want to be provided as prop to your SPA (a common use-case is information about the authenticated user) you can use the `sails.inertia.share` method.

You can do this in `api/hooks/custom/index.js`.

Expand Down

0 comments on commit 56983be

Please sign in to comment.