Files
chatwoot/app/drops/user_drop.rb
Sojan Jose be91b322a4 chore: Enable additional attributes in liquid (#1144)
enable additional liquid variables in mailers

Co-authored-by: Pranav Raj Sreepuram <pranavrajs@gmail.com>
2020-08-14 00:47:24 +05:30

6 lines
87 B
Ruby

class UserDrop < BaseDrop
def available_name
@obj.try(:available_name)
end
end