app/helpers/notifications_helper.rb
# create text for notification details in notification dropdown menu
create text for notification details in notification dropdown menu
create text for notification details in notification dropdown menu
def notification_menu_item_details(notification)
    notifiable = notification.notifiable
    return medium_notification_item_details(notifiable) if notification.medium?
    return course_notification_item_details(notifiable) if notification.course?
    if notification.lecture?
      return lecture_notification_item_details(notifiable)
    end
    ''
  end
def notification_menu_item_details ( notification ) notifiable = notification . notifiable return medium_notification_item_details ( notifiable ) if notification . medium? return course_notification_item_details ( notifiable ) if notification . course? if notification . lecture? return lecture_notification_item_details ( notifiable ) end '' end
create text for notification details in notification dropdown menu
create text for notification details in notification dropdown menu
notification
<not_specific>