Module: Jackpot::CustomersHelper

Defined in:
app/helpers/jackpot/customers_helper.rb

Instance Method Summary collapse

Instance Method Details

#subscription_name_when_available(customer) ⇒ Object



3
4
5
# File 'app/helpers/jackpot/customers_helper.rb', line 3

def subscription_name_when_available(customer)
  (customer.subscription.present?) ? customer.subscription.name : "-" 
end