Unfreeze interpolated string because it's useless.

This commit is contained in:
Stan Lo 2017-02-19 22:58:35 +08:00
parent e51572dce0
commit c61488b4ad
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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)