clarion/app/models/concerns/proposition_accepting.rb
Petko Bordjukov 050db7d124 Introduce a PropositionAccepting concern
It's sole purpose is to denote models that can be associated with a
proposable model.
2015-04-17 21:52:27 +03:00

8 lines
140 B
Ruby

module PropositionAccepting
extend ActiveSupport::Concern
included do
has_many :propositions, as: :proposition_accepting
end
end