aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2012-01-20 15:13:01 -0800
committerAaron Patterson <aaron.patterson@gmail.com>2012-01-23 10:14:15 -0800
commit5e8102179aa6403f56e757f22451f784ea43aebd (patch)
treeb22979e2ed69cad266b2bdac968920ea981ebaf6 /actionpack/lib
parente848c52535fa0f9488cdbdb3f1cedc7c7c02d643 (diff)
downloadrails-5e8102179aa6403f56e757f22451f784ea43aebd.tar.gz
rails-5e8102179aa6403f56e757f22451f784ea43aebd.tar.bz2
rails-5e8102179aa6403f56e757f22451f784ea43aebd.zip
updated the warning signature
Diffstat (limited to 'actionpack/lib')
-rw-r--r--actionpack/lib/action_dispatch/routing/mapper.rb2
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 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