Commit 86ae72787c830e3d89c37f80254f64905d8daebe

Authored by Dmitriy Zaporozhets
2 parents 6654db2c a5a96c81

Merge pull request #4018 from dolphin333/fix_cancel_button_link_on_edit_files_page

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")