diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-04-22 09:09:45 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-04-22 09:09:45 +0000 |
commit | b81fd57f3d62db4455108c8de4b8d7b8d403de35 (patch) | |
tree | d6750edadd7a35bb6719a28f8a56b4e4174a340a /app/controllers/projects/commit_controller.rb | |
parent | d17c58402b28c7eabe74df21b57ae31beec56b1f (diff) | |
download | gitlab-ce-b81fd57f3d62db4455108c8de4b8d7b8d403de35.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 5a69898ce95..be1bd37e341 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 = 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 |