diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-02-17 18:18:08 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-02-17 18:18:08 +0300 |
commit | 79d6dbbd465b6bf0d4776fad62ec3e671f31b18f (patch) | |
tree | 57d330e0a927a796d06859ab867e37c0bb86a6c0 /app/services/post_receive_service.rb | |
parent | 70c5d7928283b1386ab26a93d68015e9591ae4b7 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/services/post_receive_service.rb')
-rw-r--r-- | app/services/post_receive_service.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/post_receive_service.rb b/app/services/post_receive_service.rb index 15c978e6763..f5638b0aa40 100644 --- a/app/services/post_receive_service.rb +++ b/app/services/post_receive_service.rb @@ -86,7 +86,7 @@ class PostReceiveService banner = nil if project - scoped_messages = BroadcastMessage.current_banner_messages(current_path: project.full_path).select do |message| + scoped_messages = BroadcastMessage.current_banner_messages(project.full_path).select do |message| message.target_path.present? && message.matches_current_path(project.full_path) end |