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 'lib/feature.rb')
-rw-r--r--lib/feature.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/feature.rb b/lib/feature.rb
index c70a6980f19..88b0d871c3a 100644
--- a/lib/feature.rb
+++ b/lib/feature.rb
@@ -4,6 +4,8 @@ require 'flipper/adapters/active_record'
require 'flipper/adapters/active_support_cache_store'
class Feature
+ prepend_if_ee('EE::Feature') # rubocop: disable Cop/InjectEnterpriseEditionModule
+
# Classes to override flipper table names
class FlipperFeature < Flipper::Adapters::ActiveRecord::Feature
# Using `self.table_name` won't work. ActiveRecord bug?