Commit eea6ad9bec2c7968c00ace6cbee162ab88c39f73
1 parent
dc6d10c8
Exists in
theme-brasil-digital-from-staging
and in
9 other branches
Revert "Fix scrap notifier class name"
This reverts commit 4ba820dd80cd8ec6cbab620e1430a4fee396abc7.
Showing
2 changed files
with
2 additions
and
2 deletions
Show diff stats
app/mailers/scrap_notifier.rb
app/models/scrap.rb
... | ... | @@ -25,7 +25,7 @@ class Scrap < ActiveRecord::Base |
25 | 25 | |
26 | 26 | after_create do |scrap| |
27 | 27 | scrap.root.update_attribute('updated_at', DateTime.now) unless scrap.root.nil? |
28 | - ScrapNotifier.notification(scrap).deliver if scrap.send_notification? | |
28 | + Scrap::Notifier.notification(scrap).deliver if scrap.send_notification? | |
29 | 29 | end |
30 | 30 | |
31 | 31 | before_validation :strip_all_html_tags | ... | ... |