Commit 509e0a62 authored by Chad Woolley's avatar Chad Woolley

Fix double escaping when clicking WebIDE button

Changelog: fixed
MR: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/67360
parent ce711eb9
...@@ -178,7 +178,7 @@ module TreeHelper ...@@ -178,7 +178,7 @@ module TreeHelper
def web_ide_button_data(options = {}) def web_ide_button_data(options = {})
{ {
project_path: project_to_use.full_path, project_path: project_to_use.full_path,
ref: ActionDispatch::Journey::Router::Utils.escape_path(@ref), ref: @ref,
is_fork: fork?, is_fork: fork?,
needs_to_fork: needs_to_fork?, needs_to_fork: needs_to_fork?,
......
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