Sha256: 6cbed863ed64420819016718eba7b600781fbbe6fbf5572cd4c32039fe0072dc
Contents?: true
Size: 203 Bytes
Versions: 20
Compression:
Stored size: 203 Bytes
Contents
module CouponsHelper def days_until_expiration if session[:coupon_name] && @coupon ||= Coupon.find_by_name(session[:coupon_name]) @coupon.free_months * 30 else 30 end end end
Version data entries
20 entries across 20 versions & 1 rubygems