Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

document meta method

  • Loading branch information...
commit d8c77fa16c96f566cf0ba39c9d4d49257d03e21a 1 parent 07f172f
@vijaydev vijaydev authored fxn committed
Showing with 3 additions and 3 deletions.
  1. +3 −3 actionpack/lib/action_dispatch/http/request.rb
View
6 actionpack/lib/action_dispatch/http/request.rb
@@ -29,9 +29,9 @@ class Request < Rack::Request
ENV_METHODS.each do |env|
class_eval <<-METHOD, __FILE__, __LINE__ + 1
- def #{env.sub(/^HTTP_/n, '').downcase}
- @env["#{env}"]
- end
+ def #{env.sub(/^HTTP_/n, '').downcase} # def accept_charset
+ @env["#{env}"] # @env["HTTP_ACCEPT_CHARSET"]
+ end # end
METHOD
end
Please sign in to comment.
Something went wrong with that request. Please try again.