diff --git a/app/models/notification.rb b/app/models/notification.rb index 14480536a..62d6ad840 100644 --- a/app/models/notification.rb +++ b/app/models/notification.rb @@ -3,6 +3,7 @@ # the COPYRIGHT file. # class Notification < ActiveRecord::Base + require File.join(Rails.root, 'lib/diaspora/web_socket') include Diaspora::Socketable belongs_to :recipient, :class_name => 'User'