提交 c61488b4 编写于 作者: S Stan Lo

Unfreeze interpolated string because it's useless.

上级 e51572dc
......@@ -136,7 +136,7 @@ def expire_fragment(key, options = nil)
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 @@ def identifier_method_name
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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册