Sha256: a66100484082dbe7912a6c92eb02aa5bd35af2d05c2332d7a4455647d6daa3af
Contents?: true
Size: 437 Bytes
Versions: 7
Compression:
Stored size: 437 Bytes
Contents
module Koudoku module ApplicationHelper def plan_price(plan) "#{number_to_currency(plan.price)}/#{plan_interval(plan)}" end def plan_interval(plan) case plan.interval when "month" "month" when "year" "year" when "week" "week" when "6-month" "half-year" when "3-month" "quarter" else "month" end end end end
Version data entries
7 entries across 7 versions & 1 rubygems