Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

default value is never used, so make it required

  • Loading branch information...
commit 2b7b136e0a01f8beb19d31571934db5a98774c87 1 parent d991b67
Aaron Patterson tenderlove authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  actionpack/lib/action_dispatch/routing/mapper.rb
2  actionpack/lib/action_dispatch/routing/mapper.rb
View
@@ -16,7 +16,7 @@ class Mapper
:shallow, :blocks, :defaults, :options]
class Constraints #:nodoc:
- def self.new(app, constraints, request = Rack::Request)
+ def self.new(app, constraints, request)
if constraints.any?
super(app, constraints, request)
else
Please sign in to comment.
Something went wrong with that request. Please try again.