summaryrefslogtreecommitdiff
path: root/app/models/commit.rb
diff options
context:
space:
mode:
authorMarin Jankovski <maxlazio@gmail.com>2014-10-03 10:10:07 +0200
committerMarin Jankovski <maxlazio@gmail.com>2014-10-03 10:10:07 +0200
commitd97a9d493560a77883b2016b0949207d614cc40b (patch)
tree9133ded5b1fef760ef89ab8ea7ef72852e5943ec /app/models/commit.rb
parenta835b0ce1771c94d50c69830da4811353be60dcb (diff)
parent9f45e22993b3904436c314065730482c800a1f67 (diff)
downloadgitlab-ce-d97a9d493560a77883b2016b0949207d614cc40b.tar.gz
Merge branch 'master' of github.com:gitlabhq/gitlabhq
Diffstat (limited to 'app/models/commit.rb')
-rw-r--r--app/models/commit.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/commit.rb b/app/models/commit.rb
index c8b2e0475ff..7f586ebe781 100644
--- a/app/models/commit.rb
+++ b/app/models/commit.rb
@@ -90,7 +90,7 @@ class Commit
# Discover issues should be closed when this commit is pushed to a project's
# default branch.
- def closes_issues project
+ def closes_issues(project)
Gitlab::ClosingIssueExtractor.closed_by_message_in_project(safe_message, project)
end