debian-mirror-gitlab/app/models/iteration.rb

17 lines
298 B
Ruby
Raw Normal View History

2020-05-24 23:13:21 +05:30
# frozen_string_literal: true
2021-04-17 20:07:23 +05:30
# Placeholder class for model that is implemented in EE
2020-05-24 23:13:21 +05:30
class Iteration < ApplicationRecord
self.table_name = 'sprints'
2021-04-17 20:07:23 +05:30
def self.reference_prefix
'*iteration:'
2020-06-23 00:09:42 +05:30
end
2021-04-17 20:07:23 +05:30
def self.reference_pattern
nil
2020-10-24 23:57:45 +05:30
end
2020-05-24 23:13:21 +05:30
end
2020-06-23 00:09:42 +05:30
2021-04-17 20:07:23 +05:30
Iteration.prepend_if_ee('::EE::Iteration')