Sha256: 61bbbdc1d1eff75f6d84b0b9e8904ffbe1675f9d3d1a9e9841fa8ced9ae00c15
Contents?: true
Size: 356 Bytes
Versions: 2
Compression:
Stored size: 356 Bytes
Contents
# frozen_string_literal: true class Tramway::Partner::PartnershipDecorator < ::Tramway::Core::ApplicationDecorator class << self def collections [:all] end end def title "#{object.organization.title} #{I18n.t("enumerize.tramway/partner/partnership.partnership_type.#{object.partnership_type}")} #{object.partner.title}" end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
tramway-partner-1.0.4 | app/decorators/tramway/partner/partnership_decorator.rb |
tramway-partner-1.0.3.2 | app/decorators/tramway/partner/partnership_decorator.rb |