diff options
author | Robert Schilling <rschilling@student.tugraz.at> | 2014-10-03 10:07:15 +0200 |
---|---|---|
committer | Robert Schilling <rschilling@student.tugraz.at> | 2014-10-03 10:07:15 +0200 |
commit | 9f45e22993b3904436c314065730482c800a1f67 (patch) | |
tree | 48c469b4e8a9f4596f978a2602e4d3b5cfbece86 /app/models/commit.rb | |
parent | a3d90c5045ae322a013484165cdebcd764dc5d69 (diff) | |
parent | 2e9f5de86896e53e9cf34aef52bbc2ad08019a21 (diff) | |
download | gitlab-ce-9f45e22993b3904436c314065730482c800a1f67.tar.gz |
Merge pull request #7858 from cirosantilli/def-param-paren
Add parenthesis to function def with arguments.
Diffstat (limited to 'app/models/commit.rb')
-rw-r--r-- | app/models/commit.rb | 2 |
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 |