Merge pull request #5084 from johndouthat/patch-1

Remove reference to rails_legacy_mapper, which isn't compatible with 3.2...
This commit is contained in:
Aaron Patterson
2012-02-22 15:57:15 -08:00
parent 4bcd437f76
commit 93f1667e91

View File

@@ -267,8 +267,7 @@ module ActionDispatch
def eval_block(block)
if block.arity == 1
raise "You are using the old router DSL which has been removed in Rails 3.1. " <<
"Please check how to update your routes file at: http://www.engineyard.com/blog/2010/the-lowdown-on-routes-in-rails-3/ " <<
"or add the rails_legacy_mapper gem to your Gemfile"
"Please check how to update your routes file at: http://www.engineyard.com/blog/2010/the-lowdown-on-routes-in-rails-3/"
end
mapper = Mapper.new(self)
if default_scope