Sha256: 3a561999165fd392cbffe592e88535fe94f61062b6084e0e5d7f50966596fbb1
Contents?: true
Size: 265 Bytes
Versions: 11
Compression:
Stored size: 265 Bytes
Contents
module EmailHelper def render_scss(relative_path) asset = Rails.application.assets.find_asset(relative_path) raise "Asset not found #{relative_path.inspect}" unless asset asset.to_s.html_safe end def for_email? @for_email == true end end
Version data entries
11 entries across 11 versions & 1 rubygems