def render_notification(notifications, options = {})
      if notifications.is_a? ActivityNotification::Notification
        notifications.render self, options
      elsif notifications.respond_to?(:map)
        return nil if notifications.empty?
        notifications.map {|notification| notification.render self, options.dup }.join.html_safe
      end
    end
def render_notification(notifications, options = {})
      if notifications.is_a? ActivityNotification::Notification
        notifications.render self, options
      elsif notifications.respond_to?(:map)
        return nil if notifications.empty?
        notifications.map {|notification| notification.render self, options.dup }.join.html_safe
      end
    end
View helper for rendering an notification, calls {Notification#render} internally.
 @see Notification#render

 @param [Notification, Array<Notificaion>] notifications Array or single instance of notifications to render
 @param [Hash] options Options for rendering notifications
 @option options [String, Symbol] :target       (nil)                     Target type name to find template or i18n text
 @option options [String]         :partial      ("activity_notification/notifications/#{target}", controller.target_view_path, 'activity_notification/notifications/default') Partial template name
 @option options [String]         :partial_root (self.key.gsub('.', '/')) Root path of partial template
 @option options [String]         :layout       (nil)                     Layout template name
 @option options [String]         :layout_root  ('layouts')               Root path of layout template
 @option options [String, Symbol] :fallback     (nil)                     Fallback template to use when MissingTemplate is raised. Set :text to use i18n text as fallback.
 @return [String] Rendered view or text as string