Commit 0c869ed75cb9d4255cf4e6c268ab5e884169aeb8
Exists in
spb-stable
and in
2 other branches
Merge branch 'master' of github.com:gitlabhq/gitlabhq
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/models/project.rb
@@ -330,7 +330,7 @@ class Project < ActiveRecord::Base | @@ -330,7 +330,7 @@ class Project < ActiveRecord::Base | ||
330 | end | 330 | end |
331 | 331 | ||
332 | def ci_service | 332 | def ci_service |
333 | - @ci_service ||= services.select(&:activated?).first | 333 | + @ci_service ||= ci_services.select(&:activated?).first |
334 | end | 334 | end |
335 | 335 | ||
336 | # For compatibility with old code | 336 | # For compatibility with old code |