summaryrefslogtreecommitdiff
path: root/app/models/concerns/state_eventable.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/concerns/state_eventable.rb')
-rw-r--r--app/models/concerns/state_eventable.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/app/models/concerns/state_eventable.rb b/app/models/concerns/state_eventable.rb
new file mode 100644
index 00000000000..68129798543
--- /dev/null
+++ b/app/models/concerns/state_eventable.rb
@@ -0,0 +1,9 @@
+# frozen_string_literal: true
+
+module StateEventable
+ extend ActiveSupport::Concern
+
+ included do
+ has_many :resource_state_events
+ end
+end