aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller
diff options
context:
space:
mode:
authorMarcel Molina <marcel@vernix.org>2007-05-06 04:26:49 +0000
committerMarcel Molina <marcel@vernix.org>2007-05-06 04:26:49 +0000
commitb7565075c3aac4944645eda8537b22892c5078f2 (patch)
treea98d87c50d6a38a7962faee4135a9420ae490361 /actionpack/lib/action_controller
parent93c29e58f39563feb71c30e4d62b36a672a46831 (diff)
downloadrails-b7565075c3aac4944645eda8537b22892c5078f2.tar.gz
rails-b7565075c3aac4944645eda8537b22892c5078f2.tar.bz2
rails-b7565075c3aac4944645eda8537b22892c5078f2.zip
More documentations for typos in routes. Closes #8228 [pam]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6673 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/lib/action_controller')
-rw-r--r--actionpack/lib/action_controller/routing.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/routing.rb b/actionpack/lib/action_controller/routing.rb
index bad31f6827..1710ffcee9 100644
--- a/actionpack/lib/action_controller/routing.rb
+++ b/actionpack/lib/action_controller/routing.rb
@@ -1279,7 +1279,7 @@ module ActionController
else
required_segments = named_route.segments.select {|seg| (!seg.optional?) && (!seg.is_a?(DividerSegment)) }
required_keys_or_values = required_segments.map { |seg| seg.key rescue seg.value } # we want either the key or the value from the segment
- raise RoutingError, "#{named_route_name}_url failed to generate from #{options.inspect} - you may have ambiguous routes, or you may need to supply additional parameters for this route. content_url has the following required parameters: #{required_keys_or_values.inspect} - are they all satisifed?"
+ raise RoutingError, "#{named_route_name}_url failed to generate from #{options.inspect} - you may have ambiguous routes, or you may need to supply additional parameters for this route. content_url has the following required parameters: #{required_keys_or_values.inspect} - are they all satisfied?"
end
end