Remove extraneous word

This commit is contained in:
Aaron Groom 2019-04-02 15:45:13 -04:00
parent aeab44e6e5
commit ffc4d8e5c6
No known key found for this signature in database
GPG key ID: 6D038EE1E0301880

View file

@ -1,6 +1,6 @@
# Route Data Validation
Route data can be anything, so it's easy to do go wrong. Accidentally adding a `:role` key instead of `:roles` might hinder the whole routing app without any authorization in place.
Route data can be anything, so it's easy to go wrong. Accidentally adding a `:role` key instead of `:roles` might hinder the whole routing app without any authorization in place.
To fail fast, we could use the custom `:coerce` and `:compile` hooks to apply data validation and throw exceptions on first sighted problem.