diff options
author | Michael Koziarski <michael@koziarski.com> | 2007-11-28 04:14:51 +0000 |
---|---|---|
committer | Michael Koziarski <michael@koziarski.com> | 2007-11-28 04:14:51 +0000 |
commit | fa866765c27edfed3c23985af488e087b790df5c (patch) | |
tree | 146c1d6363eabfdd11a35ac97f137f64300f6802 /actionpack/lib/action_controller | |
parent | 6a611e1e95ceec43473d2310678bfd6156899b7a (diff) | |
download | rails-fa866765c27edfed3c23985af488e087b790df5c.tar.gz rails-fa866765c27edfed3c23985af488e087b790df5c.tar.bz2 rails-fa866765c27edfed3c23985af488e087b790df5c.zip |
correct confusing comments
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8228 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/lib/action_controller')
-rw-r--r-- | actionpack/lib/action_controller/routing_optimisation.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/routing_optimisation.rb b/actionpack/lib/action_controller/routing_optimisation.rb index 57c248a146..3669f5c950 100644 --- a/actionpack/lib/action_controller/routing_optimisation.rb +++ b/actionpack/lib/action_controller/routing_optimisation.rb @@ -100,7 +100,7 @@ module ActionController "defined?(request) && request && args.size == #{route.segment_keys.size + 1} && !args.last.has_key?(:anchor) && !args.last.has_key?(:port) && !args.last.has_key?(:host)" end - # This case uses almost the Use the same code as positional arguments, + # This case uses almost the same code as positional arguments, # but add an args.last.to_query on the end def generation_code super.insert(-2, '?#{args.last.to_query}') |