method

serve

Importance_0
v4.2.9 - Show latest stable - 0 notes - Class: ActionDispatch::Routing::Mapper::Constraints
serve(req) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionpack/lib/action_dispatch/routing/mapper.rb, line 45
        def serve(req)
          return [ 404, {'X-Cascade' => 'pass'}, [] ] unless matches?(req)

          if dispatcher?
            @app.serve req
          else
            @app.call req.env
          end
        end
Register or log in to add new notes.