Skip to content
Snippets Groups Projects
Commit ea09d92c authored by Teal's avatar Teal
Browse files

hotfix

parent b09929da
No related branches found
No related tags found
No related merge requests found
......@@ -57,7 +57,7 @@ class AssignmentsController < ApplicationController
@user.assignments.each do |assignment|
session = assignment.session
other_users = session.assignments.map { |a| a.user.name }
other_users = other_users - @user.name
other_users = other_users - [ @user.name ]
event = Icalendar::Event.new
event.dtstart = Icalendar::Values::DateTime.new(session.starts_at, tzid: session.starts_at.zone)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment