Sha256: 5e13fb4025dfd6db437e10c9d781d8dd9c9bf172e7b44e8fc2245b85bb6c389c
Contents?: true
Size: 334 Bytes
Versions: 16
Compression:
Stored size: 334 Bytes
Contents
ActiveSupport::Notifications.subscribe "process_action.action_controller" do |name, start, finish, id, payload| payload.delete(:params) extra_hash = {:total_runtime => (finish - start) * 1000} payload.merge! extra_hash unless payload[:controller].include? "Concen" Concen::Response.safely(false).create(payload) end end
Version data entries
16 entries across 16 versions & 1 rubygems