diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-03-07 15:16:11 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-03-07 15:16:11 +0300 |
commit | e8e22b384c97899e6944eeb85a0a2b84e8615f9c (patch) | |
tree | 1c0624d28d4d65d1674a28536524409c0dd51bb7 /app/services/post_receive_service.rb | |
parent | 75c2755b05acdd65b5c7f93ee245b8273d99d446 (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 f5638b0aa40..15c978e6763 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(project.full_path).select do |message| + scoped_messages = BroadcastMessage.current_banner_messages(current_path: project.full_path).select do |message| message.target_path.present? && message.matches_current_path(project.full_path) end |