KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
How do I enforce a requirement that a paramater in a route be a string? Given the route my_foobar_route: url: /example/routing/:s1/:id requirements: { id: \d+ } Can anyone remind me of how to force param s1 to be a string?
Tags (comma-separated)
Save Edits
Cancel