From 5e8102179aa6403f56e757f22451f784ea43aebd Mon Sep 17 00:00:00 2001 From: Aaron Patterson Date: Fri, 20 Jan 2012 15:13:01 -0800 Subject: updated the warning signature --- 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 9ca3566663..20077befca 100644 --- a/actionpack/lib/action_dispatch/routing/mapper.rb +++ b/actionpack/lib/action_dispatch/routing/mapper.rb @@ -504,7 +504,7 @@ module ActionDispatch ActiveSupport::Deprecation.warn <<-eowarn The method signature of #{method}() is changing to: - #{method}(path, options = {}) + #{method}(path, options = {}, &block) Calling with multiple paths is deprecated. eowarn -- cgit v1.2.3