Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-12-17 15:16:21 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2021-12-17 15:16:21 +0300
commit5d92a0af93588db9c6bef9ab5d81b73daebc782a (patch)
treec77e1c9c1a80e91de5d3e04c48d5082a971920be /app/models/concerns/issuable.rb
parent4a52a162d1b5c7dfe7b0ef90f42fd39e4bb2a863 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/models/concerns/issuable.rb')
-rw-r--r--app/models/concerns/issuable.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/models/concerns/issuable.rb b/app/models/concerns/issuable.rb
index 3ada60be485..1f05aa0954d 100644
--- a/app/models/concerns/issuable.rb
+++ b/app/models/concerns/issuable.rb
@@ -188,6 +188,10 @@ module Issuable
incident?
end
+ def supports_escalation?
+ incident?
+ end
+
def incident?
is_a?(Issue) && super
end