Rename user to contributor in submission
This commit is contained in:

committed by
Sebastian Serth

parent
97138288f4
commit
0234414bae
9
app/models/concerns/contributor.rb
Normal file
9
app/models/concerns/contributor.rb
Normal file
@@ -0,0 +1,9 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
module Contributor
|
||||
extend ActiveSupport::Concern
|
||||
|
||||
included do
|
||||
has_many :submissions, as: :contributor
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user