Commit a5a96c812b91fdea97eb6b3997a3c11fe49a908c
1 parent
6654db2c
Exists in
master
and in
4 other branches
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 | 27 | .message |
| 28 | 28 | to branch |
| 29 | 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 | 32 | :javascript |
| 33 | 33 | ace.config.set("modePath", "#{Gitlab::Application.config.assets.prefix}/ace-src-noconflict") | ... | ... |