From e39650b7ecc9d9ac9c8d7d8375052ba10ecb533d Mon Sep 17 00:00:00 2001 From: yui-knk Date: Sun, 22 Nov 2015 23:23:44 +0900 Subject: Add `Routing` namespace to point appropriate constant Make it clear we use `ActionDispatch::Routing::Endpoint` --- actionpack/lib/action_dispatch/routing/mapper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actionpack') 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 } -- cgit v1.2.3