Merge pull request #22373 from yui-knk/ad_constraints
Add `Routing` namespace to point appropriate constant
This commit is contained in:
commit
391567d457
|
@ -11,7 +11,7 @@ module ActionDispatch
|
|||
class Mapper
|
||||
URL_OPTIONS = [:protocol, :subdomain, :domain, :host, :port]
|
||||
|
||||
class Constraints < Endpoint #:nodoc:
|
||||
class Constraints < Routing::Endpoint #:nodoc:
|
||||
attr_reader :app, :constraints
|
||||
|
||||
SERVE = ->(app, req) { app.serve req }
|
||||
|
|
Loading…
Reference in New Issue