Sha256: d4c17f6912d7c2d00057855dcad5947403ddd915a557088f92811fc43776dedf
Contents?: true
Size: 381 Bytes
Versions: 3
Compression:
Stored size: 381 Bytes
Contents
module ShoppingCart module OrdersHelper def filter_orders_title return I18n.t("orders.#{request.GET[:filter]}") if request.GET[:filter] I18n.t('button.all') end def client_name(address) address.first_name + ' ' + address.last_name if address end def secret_card_number(number) '**** **** **** ' + number if number end end end
Version data entries
3 entries across 3 versions & 1 rubygems