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.9.14 app/decorators/tramway/event/partaking_decorator.rb
tramway-event-1.9.13 app/decorators/tramway/event/partaking_decorator.rb
tramway-event-1.9.12 app/decorators/tramway/event/partaking_decorator.rb
tramway-event-1.9.11.2 app/decorators/tramway/event/partaking_decorator.rb
tramway-event-1.9.11.1 app/decorators/tramway/event/partaking_decorator.rb
tramway-event-1.9.11 app/decorators/tramway/event/partaking_decorator.rb
tramway-event-1.9.10.1 app/decorators/tramway/event/partaking_decorator.rb
tramway-event-1.9.10 app/decorators/tramway/event/partaking_decorator.rb
tramway-event-1.9.9.2 app/decorators/tramway/event/partaking_decorator.rb
tramway-event-1.9.9.1 app/decorators/tramway/event/partaking_decorator.rb
tramway-event-1.9.9 app/decorators/tramway/event/partaking_decorator.rb
tramway-event-1.9.8 app/decorators/tramway/event/partaking_decorator.rb
tramway-event-1.9.7 app/decorators/tramway/event/partaking_decorator.rb
tramway-event-1.9.6 app/decorators/tramway/event/partaking_decorator.rb
tramway-event-1.9.5 app/decorators/tramway/event/partaking_decorator.rb
tramway-event-1.9.4 app/decorators/tramway/event/partaking_decorator.rb
tramway-event-1.9.3 app/decorators/tramway/event/partaking_decorator.rb
tramway-event-1.9.2 app/decorators/tramway/event/partaking_decorator.rb
tramway-event-1.9.1 app/decorators/tramway/event/partaking_decorator.rb
tramway-event-1.9 app/decorators/tramway/event/partaking_decorator.rb