diff options
| author | Felipe Artur <fcardozo@gitlab.com> | 2019-03-28 13:02:52 +0000 |
|---|---|---|
| committer | Felipe Artur <fcardozo@gitlab.com> | 2019-03-28 13:02:52 +0000 |
| commit | 11a2db125eb51f8f1cf910278aee024634637550 (patch) | |
| tree | 45432a9143b39d47f784abd291b3e0395701226a | |
| parent | 9e1010159b42f4d11c889de38ccbf51ef8f16880 (diff) | |
| download | gitlab-ce-ce_issue_10672.tar.gz | |
Update jira.rbce_issue_10672
| -rw-r--r-- | config/initializers/jira.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config/initializers/jira.rb b/config/initializers/jira.rb index 53efc5df6d8..05f784a6a2a 100644 --- a/config/initializers/jira.rb +++ b/config/initializers/jira.rb @@ -1,11 +1,11 @@ # frozen_string_literal: true -# Treats JIRA DVCS user agent requests in order to be successfully handled +# Changes JIRA DVCS user agent requests in order to be successfully handled # by our API. # # Gitlab::Jira::Middleware is only defined on EE # -# Use safe_constantize because the class may exist but still not be loaded +# Use safe_constantize because the class may exist but has not been loaded yet if "Gitlab::Jira::Middleware".safe_constantize Rails.application.config.middleware.use(Gitlab::Jira::Middleware) end |
