add more information to recording ready email

This commit is contained in:
Josh
2017-06-22 15:15:03 -04:00
parent 78a2f33f2d
commit 7e16f042a5
6 changed files with 65 additions and 2 deletions

View File

@ -20,6 +20,7 @@ class NotificationMailer < ActionMailer::Base
def recording_ready_email(user, rec)
@user = user
@recording = rec
@duration = JSON.parse(rec[:duration])
@room_url = meeting_room_url(resource: 'rooms', id: user.encrypted_id)
# Need this because URL doesn't respect the relative_url_root by default