Method: ActionController::Caching::Fragments#instrument_fragment_cache

Defined in:
actionpack/lib/action_controller/caching/fragments.rb

#instrument_fragment_cache(name, key) ⇒ Object

:nodoc:



92
93
94
# File 'actionpack/lib/action_controller/caching/fragments.rb', line 92

def instrument_fragment_cache(name, key) # :nodoc:
  ActiveSupport::Notifications.instrument("#{name}.action_controller", :key => key){ yield }
end