Commit 7f529ef0 authored by Robert Speicher's avatar Robert Speicher

Include location.search and location.hash in URL for replaceState

parent ac584d6b
......@@ -149,6 +149,9 @@ class @MergeRequest
unless action == 'notes'
new_state += "/#{action}"
# Ensure parameters and hash come along for the ride
new_state += location.search + location.hash
# Replace the current history state with the new one without breaking
# Turbolinks' history.
#
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment