diff options
author | Balasankar "Balu" C <balasankar@gitlab.com> | 2018-03-29 17:08:09 +0530 |
---|---|---|
committer | Balasankar "Balu" C <balasankar@gitlab.com> | 2018-03-29 17:08:09 +0530 |
commit | 905c772a6ab6fbb1a2fa0845f4c5d2a928c1a6c9 (patch) | |
tree | ff8ce7f969927ff740ee6ab123a684dfadea3fdf | |
parent | 8230b774b5a6375d9b84c71e72c8e41e3bfd7fad (diff) | |
download | gitlab-ce-905c772a6ab6fbb1a2fa0845f4c5d2a928c1a6c9.tar.gz |
Fix typo in issue closing pattern docs
-rw-r--r-- | doc/administration/issue_closing_pattern.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/administration/issue_closing_pattern.md b/doc/administration/issue_closing_pattern.md index 28e1fd4e12e..466bb1f851e 100644 --- a/doc/administration/issue_closing_pattern.md +++ b/doc/administration/issue_closing_pattern.md @@ -24,11 +24,11 @@ Because Rubular doesn't understand `%{issue_ref}`, you can replace this by **For Omnibus installations** 1. Open `/etc/gitlab/gitlab.rb` with your editor. -1. Change the value of `gitlab_rails['issue_closing_pattern']` to a regular +1. Change the value of `gitlab_rails['gitlab_issue_closing_pattern']` to a regular expression of your liking: ```ruby - gitlab_rails['issue_closing_pattern'] = "((?:[Cc]los(?:e[sd]|ing)|[Ff]ix(?:e[sd]|ing)?) +(?:(?:issues? +)?%{issue_ref}(?:(?:, *| +and +)?))+)" + gitlab_rails['gitlab_issue_closing_pattern'] = "((?:[Cc]los(?:e[sd]|ing)|[Ff]ix(?:e[sd]|ing)?) +(?:(?:issues? +)?%{issue_ref}(?:(?:, *| +and +)?))+)" ``` 1. [Reconfigure] GitLab for the changes to take effect. |