mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-02-13 21:33:20 +01:00
Fix CommentSmile
notification type not being returned
This commit is contained in:
parent
6089c57a20
commit
b534dc0bb8
1 changed files with 2 additions and 1 deletions
|
@ -16,7 +16,8 @@ class Appendable::Reaction < Appendable
|
|||
# rubocop:enable Rails/SkipsModelValidations
|
||||
|
||||
def notification_type(*_args)
|
||||
Notification::CommentSmiled if parent.instance_of?(Comment)
|
||||
return Notification::CommentSmiled if parent.instance_of?(Comment)
|
||||
|
||||
Notification::Smiled
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue