Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorFilipa Lacerda <filipa@gitlab.com>2019-07-11 23:38:19 +0300
committerDouglas Barbosa Alexandre <dbalexandre@gmail.com>2019-07-11 23:38:19 +0300
commit26faaa77ca7cb88fbeeef92a64052baa5b4d6712 (patch)
tree8c1ff68c51c420fbcbed7af0f8d72dfa2fc9bbce /app/views
parent410a506c09c968cd50227df239507d74aa1c706a (diff)
Moves method to TreeHelper
Reuses existing TreeHelper instead of creating a new one just for one method.
Diffstat (limited to 'app/views')
-rw-r--r--app/views/projects/tree/_tree_content.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/tree/_tree_content.html.haml b/app/views/projects/tree/_tree_content.html.haml
index 889a13339fd..cb459b031fc 100644
--- a/app/views/projects/tree/_tree_content.html.haml
+++ b/app/views/projects/tree/_tree_content.html.haml
@@ -1,4 +1,4 @@
-.tree-content-holder.js-tree-content{ 'data-logs-path': @logs_path }
+.tree-content-holder.js-tree-content{ data: tree_content_data(@logs_path, @project, @path) }
.table-holder.bordered-box
%table.table#tree-slider{ class: "table_#{@hex_path} tree-table qa-file-tree" }
%thead