Fix cancel button link on edit files page

This commit is contained in:
Dolphin 2013-05-22 02:33:54 +09:00
parent 6654db2c82
commit a5a96c812b

View file

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