diff options
Diffstat (limited to 'app/models/push_event.rb')
-rw-r--r-- | app/models/push_event.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/models/push_event.rb b/app/models/push_event.rb index 0f626cb618e..4e18d4840e6 100644 --- a/app/models/push_event.rb +++ b/app/models/push_event.rb @@ -1,6 +1,8 @@ # frozen_string_literal: true class PushEvent < Event + self.allow_legacy_sti_class = true + # This validation exists so we can't accidentally use PushEvent with a # different "action" value. validate :validate_push_action |