Class: Decidim::Coauthorship

Inherits:
ApplicationRecord show all
Includes:
Authorable
Defined in:
decidim-core/app/models/decidim/coauthorship.rb

Instance Method Summary collapse

Instance Method Details

#identityObject


13
14
15
# File 'decidim-core/app/models/decidim/coauthorship.rb', line 13

def identity
  user_group || author
end