Fix CSS loading errors in e-mail notifications
!17699 (merged) introduced a
new CSS file that was not rendered properly in production mode since
Rails.configuration.assets.compile
is disabled and the search path was
not correct.
To fix this, we use Rails.root.join
instead of File.join
. The latter
provides a relative path that is not found by the Rails search path.
Closes #36201 (closed)
Edited by Stan Hu