Sha256: bee58424fc1693a4136383a34af54bc8986f56b75c7ec79e17b08c54164077cf
Contents?: true
Size: 320 Bytes
Versions: 9
Compression:
Stored size: 320 Bytes
Contents
Rails::Rack::Logger.class_eval do def call_with_quiet_assets(env) previous_level = Rails.logger.level Rails.logger.level = Logger::ERROR if env['PATH_INFO'] =~ %r{^/assets/} call_without_quiet_assets(env) ensure Rails.logger.level = previous_level end alias_method_chain :call, :quiet_assets end
Version data entries
9 entries across 9 versions & 1 rubygems