Commit deb0bfb8 authored by Heinrich Lee Yu's avatar Heinrich Lee Yu

Merge branch 'jh-251-add-model-prepend-mod' into 'master'

Add model prepend mod for UserStatus and Project::Topic

See merge request gitlab-org/gitlab!74267
parents 484db675 65ef56cd
...@@ -28,3 +28,5 @@ module Projects ...@@ -28,3 +28,5 @@ module Projects
end end
end end
end end
::Projects::Topic.prepend_mod_with('Projects::Topic')
...@@ -33,3 +33,5 @@ class UserStatus < ApplicationRecord ...@@ -33,3 +33,5 @@ class UserStatus < ApplicationRecord
self.clear_status_at = CLEAR_STATUS_QUICK_OPTIONS[value]&.from_now self.clear_status_at = CLEAR_STATUS_QUICK_OPTIONS[value]&.from_now
end end
end end
UserStatus.prepend_mod_with('UserStatus')
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