diff options
-rw-r--r-- | app/models/project.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/project.rb b/app/models/project.rb index 1e74ae735ba..758ef14703c 100644 --- a/app/models/project.rb +++ b/app/models/project.rb @@ -330,7 +330,7 @@ class Project < ActiveRecord::Base end def ci_service - @ci_service ||= services.select(&:activated?).first + @ci_service ||= ci_services.select(&:activated?).first end # For compatibility with old code |