app/helpers/announcements_helper.rb
# create text for lecture announcement in notification card header
create text for lecture announcement in notification card header
create text for lecture announcement in notification card header
def announcement_notification_card_header(announcement)
    link_to(announcement.lecture.title_for_viewers,
            announcement.lecture.path(current_user),
            class: 'text-dark')
  end
def announcement_notification_card_header ( announcement ) link_to ( announcement . lecture . title_for_viewers , announcement . lecture . path ( current_user ) , class : 'text-dark' ) end
create text for lecture announcement in notification card header
create text for lecture announcement in notification card header
announcement
<not_specific>