Unfreeze interpolated string because it's useless.
This commit is contained in:
parent
e51572dce0
commit
c61488b4ad
|
@ -136,7 +136,7 @@ module AbstractController
|
|||
|
||||
def instrument_fragment_cache(name, key) # :nodoc:
|
||||
payload = instrument_payload(key)
|
||||
ActiveSupport::Notifications.instrument("#{name}.#{instrument_name}".freeze, payload) { yield }
|
||||
ActiveSupport::Notifications.instrument("#{name}.#{instrument_name}", payload) { yield }
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -345,7 +345,7 @@ module ActionView
|
|||
end
|
||||
|
||||
def instrument(action, &block) # :doc:
|
||||
ActiveSupport::Notifications.instrument("#{action}.action_view".freeze, instrument_payload, &block)
|
||||
ActiveSupport::Notifications.instrument("#{action}.action_view", instrument_payload, &block)
|
||||
end
|
||||
|
||||
def instrument_render_template(&block)
|
||||
|
|
Loading…
Reference in New Issue