added this thing

This commit is contained in:
nilsding 2014-12-14 14:44:25 +01:00
parent 2549d94f31
commit 6a914d4394
1 changed files with 5 additions and 0 deletions

View File

@ -0,0 +1,5 @@
class Notifications::QuestionAnswered < Notification
def linked_object
Answer.where(id: self.target_id).first
end
end