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:
Diffstat (limited to 'app/models/concerns/issuable_link.rb')
-rw-r--r--app/models/concerns/issuable_link.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/models/concerns/issuable_link.rb b/app/models/concerns/issuable_link.rb
index c319d685362..7f29083d6c6 100644
--- a/app/models/concerns/issuable_link.rb
+++ b/app/models/concerns/issuable_link.rb
@@ -20,6 +20,12 @@ module IssuableLink
def issuable_type
raise NotImplementedError
end
+
+ # Used to get the available types for the API
+ # overriden in EE
+ def available_link_types
+ [TYPE_RELATES_TO]
+ end
end
included do