mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user