summaryrefslogtreecommitdiff
path: root/app/views/projects/tree/_tree_header.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/projects/tree/_tree_header.html.haml')
-rw-r--r--app/views/projects/tree/_tree_header.html.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/projects/tree/_tree_header.html.haml b/app/views/projects/tree/_tree_header.html.haml
index 05539dfed7c..ff3928552af 100644
--- a/app/views/projects/tree/_tree_header.html.haml
+++ b/app/views/projects/tree/_tree_header.html.haml
@@ -74,8 +74,8 @@
.tree-controls
- if show_new_ide?
= succeed " " do
- = link_to ide_edit_path(@project, @id), class: 'btn btn-default' do
- = ide_edit_text
+ = link_to "#{ide_path}/project#{edit_blob_path(@project, @id, @path, {})}", class: 'btn btn-default' do
+ = _('Web IDE')
= link_to s_('Commits|History'), project_commits_path(@project, @id), class: 'btn'