lib/tracebin/patches/action_view_layout.rb in tracebin-0.0.10 vs lib/tracebin/patches/action_view_layout.rb in tracebin-0.0.11
- old
+ new
@@ -11,14 +11,14 @@
layout = find_layout(path, locals.keys)
end
end
if layout
- start_time = Time.now
+ start_time = ::Tracebin::PatchHelper.timestamp_string
result = render_with_layout_without_tracebin(path, locals, *args, &block)
- end_time = Time.now
+ end_time = ::Tracebin::PatchHelper.timestamp_string
event_data = [
'render_layout.action_view',
start_time,
end_time,