diff options
author | James Lopez <james@jameslopez.es> | 2018-02-23 18:04:31 +0300 |
---|---|---|
committer | James Lopez <james@jameslopez.es> | 2018-02-23 18:04:31 +0300 |
commit | 73c4c995f90ab84ff1a3cff24d2cb189003f54a0 (patch) | |
tree | 701e6a195877f8293f081129c3668c0d5a92350f /app/views/projects/tree | |
parent | b8028c6ccc0de02d7a6d97471a555d0e58e59b29 (diff) |
inline methods
Diffstat (limited to 'app/views/projects/tree')
-rw-r--r-- | app/views/projects/tree/_tree_header.html.haml | 4 |
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' |