diff --git a/app/helpers/lectures_helper.rb b/app/helpers/lectures_helper.rb index ba08cbb5a..0102186b8 100644 --- a/app/helpers/lectures_helper.rb +++ b/app/helpers/lectures_helper.rb @@ -142,7 +142,7 @@ def teachers_preselection(lecture) end, lecture.teacher_id) end - def teachers_preselection_for_new_lecture(lecture) + def teachers_preselection_for_new_lecture options_for_select((User.teachers + [current_user]).map do |teacher| [teacher.info, teacher.id] end)