Commit a5a96c812b91fdea97eb6b3997a3c11fe49a908c

Authored by Dolphin
1 parent 6654db2c

Fix cancel button link on edit files page

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
app/views/edit_tree/show.html.haml
@@ -27,7 +27,7 @@ @@ -27,7 +27,7 @@
27 .message 27 .message
28 to branch 28 to branch
29 %strong= @ref 29 %strong= @ref
30 - = link_to "Cancel", project_tree_path(@project, @id), class: "btn btn-cancel", confirm: "Are you sure?" 30 + = link_to "Cancel", project_blob_path(@project, @id), class: "btn btn-cancel", confirm: "Are you sure?"
31 31
32 :javascript 32 :javascript
33 ace.config.set("modePath", "#{Gitlab::Application.config.assets.prefix}/ace-src-noconflict") 33 ace.config.set("modePath", "#{Gitlab::Application.config.assets.prefix}/ace-src-noconflict")