diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2012-01-20 15:13:01 -0800 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2012-01-23 10:14:15 -0800 |
commit | 5e8102179aa6403f56e757f22451f784ea43aebd (patch) | |
tree | b22979e2ed69cad266b2bdac968920ea981ebaf6 /actionpack/lib/action_dispatch/routing | |
parent | e848c52535fa0f9488cdbdb3f1cedc7c7c02d643 (diff) | |
download | rails-5e8102179aa6403f56e757f22451f784ea43aebd.tar.gz rails-5e8102179aa6403f56e757f22451f784ea43aebd.tar.bz2 rails-5e8102179aa6403f56e757f22451f784ea43aebd.zip |
updated the warning signature
Diffstat (limited to 'actionpack/lib/action_dispatch/routing')
-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 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 |