summaryrefslogtreecommitdiff
path: root/app/controllers/projects
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-04-12 21:18:30 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2023-04-12 21:18:30 +0000
commitac48f7c24110a7a1e0a0aa49fc7838ab03c28374 (patch)
tree0d323ff3b3317315241fd1c784d82bfa0577711e /app/controllers/projects
parent6ce6d20cf0b81275bad7bf8e95cf49bd475c5c4f (diff)
downloadgitlab-ce-ac48f7c24110a7a1e0a0aa49fc7838ab03c28374.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/controllers/projects')
-rw-r--r--app/controllers/projects/tree_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/projects/tree_controller.rb b/app/controllers/projects/tree_controller.rb
index c8e98e6aa1c..0631c02355e 100644
--- a/app/controllers/projects/tree_controller.rb
+++ b/app/controllers/projects/tree_controller.rb
@@ -18,7 +18,7 @@ class Projects::TreeController < Projects::ApplicationController
before_action do
push_frontend_feature_flag(:highlight_js, @project)
- push_frontend_feature_flag(:synchronize_fork, @project)
+ push_frontend_feature_flag(:synchronize_fork, @project.fork_source)
push_licensed_feature(:file_locks) if @project.licensed_feature_available?(:file_locks)
end