Skip to content
Snippets Groups Projects
Unverified Commit 726237ba authored by Phil Hughes's avatar Phil Hughes
Browse files

Fixed web IDE not working with relative URLs

Closes #45649
parent 627eba55
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -17,7 +17,7 @@ module BlobHelper
end
 
def ide_edit_path(project = @project, ref = @ref, path = @path, options = {})
"#{ide_path}/project#{edit_blob_path(project, ref, path, options)}"
"#{ide_path}/project#{url_for([project, "edit", "blob", id: [ref, path], script_name: "/"])}"
end
 
def edit_blob_button(project = @project, ref = @ref, path = @path, options = {})
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment