fix missing started_at on request (#360)

fix missing started_at on request (#360)
From 0e713ba5029261724764cad52666faaefe11e6fc Mon Sep 17 00:00:00 2001
From: Greg Molnar <gregmolnar@users.noreply.github.com>
Date: Tue, 31 Jul 2018 03:59:19 +0200
Subject: [PATCH] fix missing started_at on request (#360)


diff --git a/lib/mini_profiler/timer_struct/page.rb b/lib/mini_profiler/timer_struct/page.rb
index 567d690..c0ee474 100644
--- a/lib/mini_profiler/timer_struct/page.rb
+++ b/lib/mini_profiler/timer_struct/page.rb
@@ -71,7 +71,7 @@ module Rack
 
         def extra_json
           {
-            :started               => '/Date(%d)/' % @attributes.delete(:started_at),
+            :started               => '/Date(%d)/' % @attributes[:started_at],
             :duration_milliseconds => @attributes[:root][:duration_milliseconds],
             :custom_timing_names   => @attributes[:custom_timing_stats].keys.sort
           }

GitHub