Skip to content

Commit

Permalink
Add location to tea time ics
Browse files Browse the repository at this point in the history
  • Loading branch information
Nick Barnwell committed Apr 23, 2015
1 parent f05c4e6 commit 1aa4e35
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/models/tea_time.rb
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ def ical
e.dtstart = Icalendar::Values::DateTime.new tt.start_time, tzid: tt.tzid
e.dtend = Icalendar::Values::DateTime.new tt.end_time, tzid: tt.tzid
e.summary = "Tea time, hosted by #{tt.host.name}"
e.location = tt.location
#FIXME: Come back to this with fresh eyes
e.organizer = Icalendar::Values::CalAddress.new("mailto:#{tt.host.email}", 'CN' => tt.host.name)
end
Expand Down

0 comments on commit 1aa4e35

Please sign in to comment.