discourse/plugins/poll/lib/user_extension.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
183 B
Ruby
Raw Normal View History

# frozen_string_literal: true
module DiscoursePoll
module UserExtension
extend ActiveSupport::Concern
prepended { has_many :poll_votes, dependent: :delete_all }
end
end