timings is a POST

This commit is contained in:
Sam 2015-04-17 12:49:55 +10:00
parent 2599b94920
commit 0c11b4c707

View file

@ -39,7 +39,7 @@ if defined?(Rack::MiniProfiler)
path = env['PATH_INFO'] path = env['PATH_INFO']
(env['HTTP_USER_AGENT'] !~ /iPad|iPhone|Nexus 7|Android/) && (env['HTTP_USER_AGENT'] !~ /iPad|iPhone|Nexus 7|Android/) &&
(env['REQUEST_METHOD'] != "GET" || !skip.any?{|re| re =~ path}) !skip.any?{|re| re =~ path}
end end
# without a user provider our results will use the ip address for namespacing # without a user provider our results will use the ip address for namespacing