diff options
author | Xavier Noria <fxn@hashref.com> | 2010-08-26 14:26:42 +0200 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2010-08-26 14:26:42 +0200 |
commit | c1b5e2a2d5a59eebe017f63088b9478b7151d6d2 (patch) | |
tree | 1ff41d8b9c9060cc7f168b38bc07b220ca2e715f /railties/lib/rails | |
parent | 0f9eedf6de72f4afacde6d7075c588a7a6fd3ad6 (diff) | |
parent | e72406e2ba3cd3a5d72fea6219f152640e2e7479 (diff) | |
download | rails-c1b5e2a2d5a59eebe017f63088b9478b7151d6d2.tar.gz rails-c1b5e2a2d5a59eebe017f63088b9478b7151d6d2.tar.bz2 rails-c1b5e2a2d5a59eebe017f63088b9478b7151d6d2.zip |
Merge remote branch 'rails/master'
Diffstat (limited to 'railties/lib/rails')
-rw-r--r-- | railties/lib/rails/tasks/routes.rake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/tasks/routes.rake b/railties/lib/rails/tasks/routes.rake index 65cf79a0a2..306c88c261 100644 --- a/railties/lib/rails/tasks/routes.rake +++ b/railties/lib/rails/tasks/routes.rake @@ -23,7 +23,7 @@ task :routes => :environment do {:name => name, :verb => route.verb.to_s, :path => route.path, :reqs => reqs} end - routes.reject! { |r| r[:path] == "/rails/info/properties" } # Skip the route if it's internal info route + routes.reject! { |r| r[:path] =~ %r{/rails/info/properties} } # Skip the route if it's internal info route name_width = routes.map{ |r| r[:name] }.map(&:length).max verb_width = routes.map{ |r| r[:verb] }.map(&:length).max |