Class: Course::AnnouncementsComponent

Inherits:
SimpleDelegator
  • Object
show all
Includes:
ControllerComponentHost::Component
Defined in:
app/controllers/components/course/announcements_component.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.display_nameObject


5
6
7
# File 'app/controllers/components/course/announcements_component.rb', line 5

def self.display_name
  I18n.t('components.announcements.name')
end

Instance Method Details


9
10
11
# File 'app/controllers/components/course/announcements_component.rb', line 9

def sidebar_items
  main_sidebar_items + settings_sidebar_items
end