David Kimura PRO said about 4 years ago on User Notifications :
Try changing it to main_app.root_path as the notification engine doesn't have context of root_path and needs the main app's root path.