Fix incorrect author relationship name
This commit is contained in:
parent
16eb27cc2b
commit
185c454da0
|
@ -32,7 +32,7 @@ class Inbox < ApplicationRecord
|
|||
type: :inbox,
|
||||
title: I18n.t(
|
||||
"frontend.push_notifications.inbox.title",
|
||||
user: question.author_is_anonymous ? user.profile.display_name : question.author.profile.safe_name
|
||||
user: question.author_is_anonymous ? user.profile.display_name : question.user.profile.safe_name
|
||||
),
|
||||
body: question.content
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue