mirror of
https://github.com/github/rails.git
synced 2026-01-30 08:48:06 -05:00
correct confusing comments
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8228 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
@@ -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}')
|
||||
|
||||
Reference in New Issue
Block a user