mirror of
https://github.com/metosin/reitit.git
synced 2025-12-17 16:31:11 +00:00
Remove extraneous word
This commit is contained in:
parent
aeab44e6e5
commit
ffc4d8e5c6
1 changed files with 1 additions and 1 deletions
|
|
@ -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.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue