Commit d789edc3 authored by Rajendra Kadam's avatar Rajendra Kadam Committed by Peter Leitzen

Refactor prepend in interpret service

parent f9bc8d20
---
title: Move prepend to last in ee-app-services
merge_request: 31838
author: Rajendra Kadam
type: fixed
......@@ -4,8 +4,6 @@ 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?
......@@ -186,3 +184,5 @@ class Feature
end
end
end
Feature.prepend_if_ee('EE::Feature')
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment