class Ahoy::Engine
Constants
- AHOY_PREFIX
-
Parse PATH_INFO by assets prefix
Public Instance Methods
Source
# File lib/ahoy/engine.rb, line 16 def call_with_quiet_ahoy(env) if env["PATH_INFO"].start_with?(AHOY_PREFIX) && logger.respond_to?(:silence) logger.silence do call_without_quiet_ahoy(env) end else call_without_quiet_ahoy(env) end end