mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-03-31 05:02:14 +02:00
added this thing
This commit is contained in:
parent
2549d94f31
commit
6a914d4394
1 changed files with 5 additions and 0 deletions
5
app/models/notifications/question_answered.rb
Normal file
5
app/models/notifications/question_answered.rb
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
class Notifications::QuestionAnswered < Notification
|
||||||
|
def linked_object
|
||||||
|
Answer.where(id: self.target_id).first
|
||||||
|
end
|
||||||
|
end
|
Loading…
Reference in a new issue