Sha256: f897222135e079dfae0c0035ada23e78885addf7e016954840eaf6694e926835

Contents?: true

Size: 250 Bytes

Versions: 43

Compression:

Stored size: 250 Bytes

Contents

class Tramway::Event::PartakingDecorator < ::Tramway::Core::ApplicationDecorator
  class << self
    def collections
      [ :all ]
    end
  end

  def name
    "#{object.person.first_name} #{object.person.last_name} - #{object.position}"
  end
end

Version data entries

43 entries across 43 versions & 1 rubygems

Version Path
tramway-event-1.5.4 app/decorators/tramway/event/partaking_decorator.rb
tramway-event-1.5.3 app/decorators/tramway/event/partaking_decorator.rb
tramway-event-1.5.2 app/decorators/tramway/event/partaking_decorator.rb