Skip to content

Fix CSS loading errors in e-mail notifications

Stan Hu requested to merge sh-fix-issue-36201 into master

!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

Merge request reports