mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-01-19 05:46:04 +01:00
Add stub notification partial for content pending deletion
This commit is contained in:
parent
4cab189750
commit
2db4ce38c9
1 changed files with 2 additions and 0 deletions
2
app/views/notifications/type/_nilclass.html.haml
Normal file
2
app/views/notifications/type/_nilclass.html.haml
Normal file
|
@ -0,0 +1,2 @@
|
|||
-# This is a stub to prevent errors on broken notifications on content being asynchronously destroyed.
|
||||
- logger.error "Notification ##{notification.id} has a target which doesn't exist. (Target: #{notification.target_type}##{notification.target_id})"
|
Loading…
Reference in a new issue