diff options
author | yui-knk <spiketeika@gmail.com> | 2015-11-22 23:23:44 +0900 |
---|---|---|
committer | yui-knk <spiketeika@gmail.com> | 2015-11-22 23:23:44 +0900 |
commit | e39650b7ecc9d9ac9c8d7d8375052ba10ecb533d (patch) | |
tree | 2666785bd3d6b946c30137b997d2c723bb8b75f7 /actionpack/lib/action_dispatch | |
parent | 4596c1a31902806a15c970a0e210942912b139b6 (diff) | |
download | rails-e39650b7ecc9d9ac9c8d7d8375052ba10ecb533d.tar.gz rails-e39650b7ecc9d9ac9c8d7d8375052ba10ecb533d.tar.bz2 rails-e39650b7ecc9d9ac9c8d7d8375052ba10ecb533d.zip |
Add `Routing` namespace to point appropriate constant
Make it clear we use `ActionDispatch::Routing::Endpoint`
Diffstat (limited to 'actionpack/lib/action_dispatch')
-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 7c0404ca62..02f027cabf 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 } |