diff options
Diffstat (limited to 'app/helpers/system_note_helper.rb')
-rw-r--r-- | app/helpers/system_note_helper.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/app/helpers/system_note_helper.rb b/app/helpers/system_note_helper.rb index 3efae0a653c..51cbe93513d 100644 --- a/app/helpers/system_note_helper.rb +++ b/app/helpers/system_note_helper.rb @@ -39,3 +39,9 @@ module SystemNoteHelper extend self end + +SystemNoteHelper.prepend_if_ee('EE::SystemNoteHelper') # rubocop: disable Cop/InjectEnterpriseEditionModule + +# The methods in `EE::SystemNoteHelper` should be available as both instance and +# class methods. +SystemNoteHelper.extend_if_ee('EE::SystemNoteHelper') |