Sha256: bd36469c77df49d62431573a3061d6e960f511c8fb53ff173df59ff6df2d75a6
Contents?: true
Size: 271 Bytes
Versions: 1
Compression:
Stored size: 271 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
houston-core-0.5.0.beta1 | app/helpers/email_helper.rb |