Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[core#8211] Update GA helper #1855

Merged
merged 1 commit into from
Apr 23, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions lib/helper_patches.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,7 @@ def is_contact_page?
end

def request_url_with_query
uri = URI.parse(request.original_url);
uri.query = URI.encode_www_form(
URI.decode_www_form(String(uri.query)).push(['query', @query])
);
uri.to_s
add_query_params_to_url(request.original_url, query: @query)
end
end

Expand Down
Loading