summaryrefslogtreecommitdiff
path: root/app/views/projects/tree/_tree_header.html.haml
diff options
context:
space:
mode:
authorJames Lopez <james@jameslopez.es>2018-02-23 16:04:31 +0100
committerJames Lopez <james@jameslopez.es>2018-02-23 16:04:31 +0100
commit73c4c995f90ab84ff1a3cff24d2cb189003f54a0 (patch)
tree701e6a195877f8293f081129c3668c0d5a92350f /app/views/projects/tree/_tree_header.html.haml
parentb8028c6ccc0de02d7a6d97471a555d0e58e59b29 (diff)
downloadgitlab-ce-73c4c995f90ab84ff1a3cff24d2cb189003f54a0.tar.gz
inline methods
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'