diff options
author | Yves Senn <yves.senn@gmail.com> | 2015-11-30 09:12:06 +0100 |
---|---|---|
committer | Yves Senn <yves.senn@gmail.com> | 2015-11-30 09:12:06 +0100 |
commit | 391567d457f15e22429e6f06803148b9d5b49689 (patch) | |
tree | 7b149bfe6e5adec58b25453f24afc477e0abc3cd /actionpack | |
parent | 3f16a098452ee5d447142bd9a6f6045cb1fc83b4 (diff) | |
parent | e39650b7ecc9d9ac9c8d7d8375052ba10ecb533d (diff) | |
download | rails-391567d457f15e22429e6f06803148b9d5b49689.tar.gz rails-391567d457f15e22429e6f06803148b9d5b49689.tar.bz2 rails-391567d457f15e22429e6f06803148b9d5b49689.zip |
Merge pull request #22373 from yui-knk/ad_constraints
Add `Routing` namespace to point appropriate constant
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/lib/action_dispatch/routing/mapper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_dispatch/routing/mapper.rb b/actionpack/lib/action_dispatch/routing/mapper.rb index e676c837b4..18cd205bad 100644 --- a/actionpack/lib/action_dispatch/routing/mapper.rb +++ b/actionpack/lib/action_dispatch/routing/mapper.rb @@ -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 } |