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.8.10 app/decorators/tramway/event/partaking_decorator.rb
tramway-event-1.8.9 app/decorators/tramway/event/partaking_decorator.rb
tramway-event-1.8.8 app/decorators/tramway/event/partaking_decorator.rb
tramway-event-1.8.7 app/decorators/tramway/event/partaking_decorator.rb
tramway-event-1.8.6 app/decorators/tramway/event/partaking_decorator.rb
tramway-event-1.8.5 app/decorators/tramway/event/partaking_decorator.rb
tramway-event-1.8.4 app/decorators/tramway/event/partaking_decorator.rb
tramway-event-1.8.3 app/decorators/tramway/event/partaking_decorator.rb
tramway-event-1.8.2 app/decorators/tramway/event/partaking_decorator.rb
tramway-event-1.8.1.1 app/decorators/tramway/event/partaking_decorator.rb
tramway-event-1.8.1 app/decorators/tramway/event/partaking_decorator.rb
tramway-event-1.8 app/decorators/tramway/event/partaking_decorator.rb
tramway-event-1.7.2 app/decorators/tramway/event/partaking_decorator.rb
tramway-event-1.7.1 app/decorators/tramway/event/partaking_decorator.rb
tramway-event-1.7 app/decorators/tramway/event/partaking_decorator.rb
tramway-event-1.6.4 app/decorators/tramway/event/partaking_decorator.rb
tramway-event-1.6.3 app/decorators/tramway/event/partaking_decorator.rb
tramway-event-1.6.2 app/decorators/tramway/event/partaking_decorator.rb
tramway-event-1.6.1 app/decorators/tramway/event/partaking_decorator.rb
tramway-event-1.6 app/decorators/tramway/event/partaking_decorator.rb