Flowdock
call(env) 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/middleware/static.rb, line 125
    def call(env)
      req = ActionDispatch::Request.new env

      if req.get? || req.head?
        path = req.path_info.chomp('/'.freeze)
        if match = @file_handler.match?(path)
          req.path_info = match
          return @file_handler.serve(req)
        end
      end

      @app.call(req.env)
    end
Register or log in to add new notes.