forked from External/greenlight
fix email link
This commit is contained in:
parent
55f2041b7c
commit
80374e02a5
|
@ -47,9 +47,7 @@
|
|||
|
||||
} else if (data.action === 'create') {
|
||||
if (row.length == 0) {
|
||||
data.duration = data.length;
|
||||
table.rows.add([data]);
|
||||
recordings.draw();
|
||||
recordings.refresh();
|
||||
showAlert(I18n.recording_created, 4000);
|
||||
}
|
||||
|
||||
|
|
|
@ -20,6 +20,9 @@ class NotificationMailer < ActionMailer::Base
|
|||
def recording_ready_email(user)
|
||||
@user = user
|
||||
@room_url = meeting_room_url(resource: 'rooms', id: user.encrypted_id)
|
||||
unless @room_url.include? "#{Rails.configuration.relative_url_root}/"
|
||||
@room_url = @room_url.split('/rooms/').join("#{Rails.configuration.relative_url_root}/rooms/")
|
||||
end
|
||||
mail(to: user.email, subject: t('.subject'))
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue