summaryrefslogtreecommitdiff
path: root/app/views/projects/artifacts/_tree_directory.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/projects/artifacts/_tree_directory.html.haml')
-rw-r--r--app/views/projects/artifacts/_tree_directory.html.haml6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/views/projects/artifacts/_tree_directory.html.haml b/app/views/projects/artifacts/_tree_directory.html.haml
index 9e49c93388a..03be6f15313 100644
--- a/app/views/projects/artifacts/_tree_directory.html.haml
+++ b/app/views/projects/artifacts/_tree_directory.html.haml
@@ -1,8 +1,8 @@
-- path_to_directory = browse_namespace_project_build_artifacts_path(@project.namespace, @project, @build, path: directory.path)
+- path_to_directory = browse_project_job_artifacts_path(@project, @build, path: directory.path)
%tr.tree-item{ 'data-link' => path_to_directory }
%td.tree-item-file-name
= tree_icon('folder', '755', directory.name)
- %span.str-truncated
- = link_to directory.name, path_to_directory
+ = link_to path_to_directory do
+ %span.str-truncated= directory.name
%td