Class: Decidim::Coauthorship

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

Instance Method Summary collapse

Instance Method Details

#identityObject



11
12
13
# File 'app/models/decidim/coauthorship.rb', line 11

def identity
  user_group || author
end