Module: ActiveLdap::Railties::ControllerRuntime::ClassMethods

Defined in:
lib/active_ldap/railties/controller_runtime.rb

Instance Method Summary collapse

Instance Method Details

#log_process_action(payload) ⇒ Object



39
40
41
42
43
# File 'lib/active_ldap/railties/controller_runtime.rb', line 39

def log_process_action(payload)
  messages, ldap_runtime = super, payload[:ldap_runtime]
  messages << ("ActiveLdap: %.1fms" % ldap_runtime.to_f) if ldap_runtime
  messages
end