diff options
author | Eugenia Grieff <egrieff@gitlab.com> | 2019-07-18 21:52:10 +0300 |
---|---|---|
committer | Bob Van Landuyt <bob@gitlab.com> | 2019-07-18 21:52:10 +0300 |
commit | 4b7cf4a54e95316a582d8df4211674d67b7cf1e2 (patch) | |
tree | 765ae9e5666071ef556294614bc225a8507e90bf /app/models/concerns/issuable.rb | |
parent | 0b859d2f4fb3c7595f343fda0caa7dfc6919462b (diff) |
CE port for milestones should not be set on epics issue promotion
Diffstat (limited to 'app/models/concerns/issuable.rb')
-rw-r--r-- | app/models/concerns/issuable.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/app/models/concerns/issuable.rb b/app/models/concerns/issuable.rb index 952de92cae1..e60b6497cb7 100644 --- a/app/models/concerns/issuable.rb +++ b/app/models/concerns/issuable.rb @@ -427,4 +427,11 @@ module Issuable def wipless_title_changed(old_title) old_title != title end + + ## + # Overridden on EE module + # + def supports_milestone? + respond_to?(:milestone_id) + end end |