Commit c0b031b2 authored by Tan Le's avatar Tan Le

Set root namespace for Audit::Changes

This change avoids confusion with root namespace of this class on
application boot. An exception is thrown via `bootsnap` when I ran
`bundle exec rails s` or `bundle exec rails c` locally.

`uninitialized constant EE::Audit::Changes (NameError)`
parent d6b8c19d
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
module ApprovalRules module ApprovalRules
module Updater module Updater
include Audit::Changes include ::Audit::Changes
def action def action
filter_eligible_users! filter_eligible_users!
......
...@@ -5,7 +5,7 @@ module EE ...@@ -5,7 +5,7 @@ module EE
module UpdateService module UpdateService
extend ::Gitlab::Utils::Override extend ::Gitlab::Utils::Override
include ::Gitlab::Utils::StrongMemoize include ::Gitlab::Utils::StrongMemoize
include Audit::Changes include ::Audit::Changes
attr_reader :group_id_for_saml attr_reader :group_id_for_saml
......
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