mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-11-07 06:56:18 +08:00
Hound code style fixes [SCI-443]
This commit is contained in:
parent
5399033fce
commit
3f219e1bfe
1 changed files with 5 additions and 5 deletions
|
|
@ -31,11 +31,11 @@ class UserNotification < ActiveRecord::Base
|
||||||
end
|
end
|
||||||
|
|
||||||
def send_email
|
def send_email
|
||||||
if self.notification.type_of == 'system_message'
|
if notification.type_of == 'system_message'
|
||||||
send_email_notification(self.user, self.notification)
|
send_email_notification(user, notification)
|
||||||
elsif self.user.assignments_notification_email ||
|
elsif user.assignments_notification_email ||
|
||||||
self.user.recent_notification_email
|
user.recent_notification_email
|
||||||
send_email_notification(self.user, self.notification)
|
send_email_notification(user, notification)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue