diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-04-22 15:09:56 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-04-22 15:09:56 +0000 |
commit | 5f5f492fe278f3322e9533b617522321e2ccafcc (patch) | |
tree | 2f9f65c206d555d44034d386f4a03e0835059b04 /app/controllers/projects/commit_controller.rb | |
parent | 4b074c5f634f8e1e550107f9e8237f07878ca0e8 (diff) | |
download | gitlab-ce-5f5f492fe278f3322e9533b617522321e2ccafcc.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/controllers/projects/commit_controller.rb')
-rw-r--r-- | app/controllers/projects/commit_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/projects/commit_controller.rb b/app/controllers/projects/commit_controller.rb index be1bd37e341..863715429ff 100644 --- a/app/controllers/projects/commit_controller.rb +++ b/app/controllers/projects/commit_controller.rb @@ -167,7 +167,7 @@ class Projects::CommitController < Projects::ApplicationController @diffs = commit.diffs(opts) @notes_count = commit.notes.count - @environment = Environments::EnvironmentsByDeploymentsFinder.new(@project, current_user, commit: @commit, find_latest: true).execute.last + @environment = ::Environments::EnvironmentsByDeploymentsFinder.new(@project, current_user, commit: @commit, find_latest: true).execute.last end # rubocop: disable CodeReuse/ActiveRecord |