Commit 01817135e944ade092c35399409fe995b0c6152f
1 parent
ae006dd9
Exists in
master
and in
4 other branches
fix ace mode 404
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
app/views/edit_tree/show.html.haml
... | ... | @@ -30,6 +30,7 @@ |
30 | 30 | = link_to "Cancel", project_tree_path(@project, @id), class: "btn btn-cancel", confirm: "Are you sure?" |
31 | 31 | |
32 | 32 | :javascript |
33 | + ace.config.set("modePath", "#{Gitlab::Application.config.assets.prefix}/ace-src-noconflict") | |
33 | 34 | var ace_mode = "#{@blob.language.try(:ace_mode)}"; |
34 | 35 | var editor = ace.edit("editor"); |
35 | 36 | if (ace_mode) { | ... | ... |