Class: Approval::Comment

Inherits:
ApplicationRecord show all
Defined in:
app/models/approval/comment.rb

Class Method Summary collapse

Class Method Details

.define_user_associationObject


5
6
7
# File 'app/models/approval/comment.rb', line 5

def self.define_user_association
  belongs_to :user, class_name: Approval.config.user_class_name
end