Hotwired wi[

This commit is contained in:
2021-09-22 16:40:20 +02:00
parent a0c72b0caf
commit 9a318249dc
21 changed files with 381 additions and 6 deletions

View File

@@ -1,4 +1,8 @@
class Employer < ApplicationRecord
after_create_commit { broadcast_prepend_to "employers" }
after_update_commit { broadcast_replace_to "employers" }
after_destroy_commit { broadcast_remove_to "employers" }
include Recentable
has_many :subscriptions