Method: Sinatra::Base#pass
- Defined in:
- lib/sinatra/base.rb
#pass(&block) ⇒ Object
Pass control to the next matching route. If there are no more matching routes, Sinatra will return a 404 response.
1038 1039 1040 |
# File 'lib/sinatra/base.rb', line 1038 def pass(&block) throw :pass, block end |