Skip to content

Commit

Permalink
Remove unused parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
fosterfarrell9 committed Aug 18, 2024
1 parent 9d441ff commit 587b72f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/helpers/lectures_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 587b72f

Please sign in to comment.