mirror of
https://github.com/hanzoai/forum.git
synced 2026-09-30 21:51:19 +00:00
The lastest version of rubocop-discourse enables rules regarding plugins.
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
|