Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

correct confusing comments

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8228 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
commit fa866765c27edfed3c23985af488e087b790df5c 1 parent 6a611e1
@NZKoz NZKoz authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  actionpack/lib/action_controller/routing_optimisation.rb
View
2  actionpack/lib/action_controller/routing_optimisation.rb
@@ -100,7 +100,7 @@ def guard_condition
"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}')

0 comments on commit fa86676

Please sign in to comment.
Something went wrong with that request. Please try again.