aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArun Agrawal <arunagw@gmail.com>2012-03-31 23:40:27 +0530
committerArun Agrawal <arunagw@gmail.com>2012-03-31 23:41:52 +0530
commitdab9638637c417ad531b2c7fc8de492c1691b3d9 (patch)
treed95b3f2d45bcef38c5aa290e92d663d9f8056927
parentc81f85d36c15a325a2279b88bd8611df6f2c2e5d (diff)
downloadrails-dab9638637c417ad531b2c7fc8de492c1691b3d9.tar.gz
rails-dab9638637c417ad531b2c7fc8de492c1691b3d9.tar.bz2
rails-dab9638637c417ad531b2c7fc8de492c1691b3d9.zip
warning removed: `&' interpreted as argument prefix
-rw-r--r--railties/lib/rails/paths.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/paths.rb b/railties/lib/rails/paths.rb
index e9bd0f181e..dd1790299d 100644
--- a/railties/lib/rails/paths.rb
+++ b/railties/lib/rails/paths.rb
@@ -160,7 +160,7 @@ module Rails
end
def each(&block)
- @paths.each &block
+ @paths.each(&block)
end
def <<(path)