Commit 0c869ed7 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Merge branch 'master' of github.com:gitlabhq/gitlabhq

parents df92f825 239b84e9
...@@ -330,7 +330,7 @@ class Project < ActiveRecord::Base ...@@ -330,7 +330,7 @@ class Project < ActiveRecord::Base
end end
def ci_service def ci_service
@ci_service ||= services.select(&:activated?).first @ci_service ||= ci_services.select(&:activated?).first
end end
# For compatibility with old code # For compatibility with old code
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment