Merge remote-tracking branch 'parent/main' into kb_migration
This commit is contained in:
commit
5d49a7c3c1
5 changed files with 76 additions and 8 deletions
|
@ -23,6 +23,7 @@ class PollVote < ApplicationRecord
|
|||
after_create_commit :increment_counter_cache
|
||||
|
||||
delegate :local?, to: :account
|
||||
delegate :multiple?, :expired?, to: :poll, prefix: true
|
||||
|
||||
def object_type
|
||||
:vote
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue