Files
old-konsultanti-next-gen/app/models/employer.rb
2021-09-22 16:40:20 +02:00

13 lines
268 B
Ruby

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
end