Skip to content
This repository
Browse code

updated the warning signature

  • Loading branch information...
commit 5e8102179aa6403f56e757f22451f784ea43aebd 1 parent e848c52
Aaron Patterson authored January 20, 2012
2  actionpack/lib/action_dispatch/routing/mapper.rb
@@ -504,7 +504,7 @@ def map_method(method, args, &block)
504 504
               ActiveSupport::Deprecation.warn <<-eowarn
505 505
 The method signature of #{method}() is changing to:
506 506
 
507  
-    #{method}(path, options = {})
  507
+    #{method}(path, options = {}, &block)
508 508
 
509 509
 Calling with multiple paths is deprecated.
510 510
               eowarn

0 notes on commit 5e81021

Please sign in to comment.
Something went wrong with that request. Please try again.