diff options
author | Filipa Lacerda <filipa@gitlab.com> | 2019-07-11 23:38:19 +0300 |
---|---|---|
committer | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2019-07-11 23:38:19 +0300 |
commit | 26faaa77ca7cb88fbeeef92a64052baa5b4d6712 (patch) | |
tree | 8c1ff68c51c420fbcbed7af0f8d72dfa2fc9bbce /app/views | |
parent | 410a506c09c968cd50227df239507d74aa1c706a (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.haml | 2 |
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 |