Fix cancel button link on edit files page
This commit is contained in:
parent
6654db2c82
commit
a5a96c812b
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@
|
||||||
.message
|
.message
|
||||||
to branch
|
to branch
|
||||||
%strong= @ref
|
%strong= @ref
|
||||||
= link_to "Cancel", project_tree_path(@project, @id), class: "btn btn-cancel", confirm: "Are you sure?"
|
= link_to "Cancel", project_blob_path(@project, @id), class: "btn btn-cancel", confirm: "Are you sure?"
|
||||||
|
|
||||||
:javascript
|
:javascript
|
||||||
ace.config.set("modePath", "#{Gitlab::Application.config.assets.prefix}/ace-src-noconflict")
|
ace.config.set("modePath", "#{Gitlab::Application.config.assets.prefix}/ace-src-noconflict")
|
||||||
|
|
Loading…
Reference in a new issue