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
diff options
context:
space:
mode:
Diffstat (limited to 'app/helpers/commits_helper.rb')
-rw-r--r--app/helpers/commits_helper.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/app/helpers/commits_helper.rb b/app/helpers/commits_helper.rb
index 42871dcc56f..6ffef1b612b 100644
--- a/app/helpers/commits_helper.rb
+++ b/app/helpers/commits_helper.rb
@@ -42,7 +42,7 @@ module CommitsHelper
crumbs = content_tag(:li, class: 'breadcrumb-item') do
link_to(
@project.path,
- project_commits_path(@project, @ref)
+ project_commits_path(@project, @ref, ref_type: @ref_type)
)
end
@@ -56,7 +56,8 @@ module CommitsHelper
part,
project_commits_path(
@project,
- tree_join(@ref, parts[0..i].join('/'))
+ tree_join(@ref, parts[0..i].join('/')),
+ ref_type: @ref_type
)
)
end