fix tests for issue #366
This commit is contained in:
parent
3fca9fa2d3
commit
60df273e4b
@ -3,7 +3,7 @@ module Locomotive
|
||||
|
||||
default :from => Locomotive.config.mailer_sender
|
||||
|
||||
def new_content_entry(entry, account)
|
||||
def new_content_entry(account, entry)
|
||||
@account, @entry, @type = account, entry, entry.content_type
|
||||
|
||||
subject = t('locomotive.notifications.new_content_entry.subject', :type => @type.name, :locale => account.locale)
|
||||
|
@ -148,7 +148,7 @@ module Locomotive
|
||||
self.site.accounts.each do |account|
|
||||
next unless self.content_type.public_submission_accounts.map(&:to_s).include?(account._id.to_s)
|
||||
|
||||
Locomotive::Notifications.new_content_entry(self, account).deliver
|
||||
Locomotive::Notifications.new_content_entry(account, self).deliver
|
||||
end
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user