Method: AbstractController::Caching::Fragments#instrument_fragment_cache

Defined in:
lib/abstract_controller/caching/fragments.rb

#instrument_fragment_cache(name, key, &block) ⇒ Object

:nodoc:



144
145
146
# File 'lib/abstract_controller/caching/fragments.rb', line 144

def instrument_fragment_cache(name, key, &block) # :nodoc:
  ActiveSupport::Notifications.instrument("#{name}.#{instrument_name}", instrument_payload(key), &block)
end