mirror of
https://github.com/discourse/discourse.git
synced 2024-12-12 06:43:41 +08:00
10 lines
183 B
Ruby
10 lines
183 B
Ruby
|
# frozen_string_literal: true
|
||
|
|
||
|
module DiscoursePoll
|
||
|
module UserExtension
|
||
|
extend ActiveSupport::Concern
|
||
|
|
||
|
prepended { has_many :poll_votes, dependent: :delete_all }
|
||
|
end
|
||
|
end
|