Permalink
Browse files

'would of' => 'will be'

  • Loading branch information...
1 parent e82b435 commit 6f5d1f31907be5ff514c61bed9dc776eb3e5b76a @jeremy jeremy committed Aug 11, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/lib/action_controller/routing/route_set.rb
@@ -417,7 +417,7 @@ def generate(options, recall = {}, method=:generate)
new_results = route2.__send__(method, options, merged, expire_on)
if new_results && (!new_results.is_a?(Array) || new_results.first)
ActiveSupport::Deprecation.warn "The URL you generated will use the first matching route in routes.rb rather than the \"best\" match. " +
- "In Rails 3.0 #{new_results} would of been generated instead of #{results}"
+ "In Rails 3.0 #{new_results} will be generated instead of #{results}"
break
end
end

0 comments on commit 6f5d1f3

Please sign in to comment.