Skip to content

Commit

Permalink
Page name includes query string
Browse files Browse the repository at this point in the history
  • Loading branch information
nateberkopec committed Dec 29, 2023
1 parent eb8e847 commit a934369
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/mini_profiler/timer_struct/page.rb
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def symbolize_array(array)

def initialize(env)
timer_id = MiniProfiler.generate_id
page_name = env['PATH_INFO']
page_name = env['QUERY_STRING'] != "" ? env['PATH_INFO'] + "?" + env['QUERY_STRING'] : env['PATH_INFO']
started_at = (Time.now.to_f * 1000).to_i
started = (Process.clock_gettime(Process::CLOCK_MONOTONIC) * 1000).to_i
machine_name = env['SERVER_NAME']
Expand Down

0 comments on commit a934369

Please sign in to comment.