Add {committee_review} to emails and support HTML

This commit is contained in:
Michael Ball 2021-04-16 01:08:28 -07:00
parent 9786843eac
commit f6c7a50bba
4 changed files with 12 additions and 7 deletions

View file

@ -91,6 +91,8 @@ class EmailSettings < ApplicationRecord
h['eventtitle'] = event.title
h['proposalslink'] = Rails.application.routes.url_helpers.conference_program_proposals_url(
conference.short_title, host: (ENV['OSEM_HOSTNAME'] || 'localhost:3000'))
h['committee_review'] = event.committee_review
h['committee_review_html'] = ApplicationController.helpers.markdown(event.committee_review)
end
if booth