Class: Course::AssessmentsComponent

Inherits:
SimpleDelegator
  • Object
show all
Includes:
Course::Assessment::SubmissionsHelper, ControllerComponentHost::Component
Defined in:
app/controllers/components/course/assessments_component.rb

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Course::Assessment::SubmissionsHelper

#my_students_pending_submissions_count, #pending_submissions_count

Class Method Details

.display_nameObject


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

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

.lesson_plan_item_actable_namesObject


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

def self.lesson_plan_item_actable_names
  [Course::Assessment.name]
end

Instance Method Details


14
15
16
# File 'app/controllers/components/course/assessments_component.rb', line 14

def sidebar_items
  main_sidebar_items + admin_sidebar_items + admin_settings_items
end