Class: Course::Discussion::TopicsComponent

Inherits:
SimpleDelegator
  • Object
show all
Includes:
ControllerComponentHost::Component, TopicsHelper
Defined in:
app/controllers/components/course/discussion/topics_component.rb

Class Method Summary collapse

Instance Method Summary collapse

Methods included from TopicsHelper

#all_staff_unread_count, #all_student_unread_count, #display_code_lines, #from_user, #link_to_mark_as_read, #link_to_toggle_pending, #my_students_unread_count, #topics_title

Class Method Details

.display_nameObject


6
7
8
# File 'app/controllers/components/course/discussion/topics_component.rb', line 6

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

Instance Method Details


10
11
12
# File 'app/controllers/components/course/discussion/topics_component.rb', line 10

def sidebar_items
  main_sidebar_items + settings_sidebar_items
end