Module: Course::AnnouncementsHelper

Defined in:
app/helpers/course/announcements_helper.rb

Instance Method Summary collapse

Instance Method Details

#announcements_titleString?

Returns the formatted title of announcements component.

Returns:

  • (String)

    The formatted title of announcements component.

  • (nil)

    If the title is nil.


7
8
9
# File 'app/helpers/course/announcements_helper.rb', line 7

def announcements_title
  @settings.title.nil? ? nil : format_inline_text(@settings.title)
end