diff options
-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 |