We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sinatra allows matching against splat or wildcard parameters.
Per their docs:
get '/say/*/to/*' do # matches /say/hello/to/world params['splat'] # => ["hello", "world"] end get '/download/*.*' do # matches /download/path/to/file.xml params['splat'] # => ["path/to/file", "xml"] end
It may be useful to write a path-template matcher implementation to emulate this behavior.
The text was updated successfully, but these errors were encountered:
jeko2000
No branches or pull requests
Sinatra allows matching against splat or wildcard parameters.
Per their docs:
It may be useful to write a path-template matcher implementation to emulate this behavior.
The text was updated successfully, but these errors were encountered: