Sha256: f59311c73f042274e238e81a5ce4ad36969ddbbda7502fae6c45c7c17b18e2d0

Contents?: true

Size: 246 Bytes

Versions: 53

Compression:

Stored size: 246 Bytes

Contents

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

  decorate_association :sections

  def name
    "#{object.first_name} #{object.last_name}"
  end
end

Version data entries

53 entries across 53 versions & 1 rubygems

Version Path
tramway-event-1.9.19.1 app/decorators/tramway/event/person_decorator.rb
tramway-event-1.9.19 app/decorators/tramway/event/person_decorator.rb
tramway-event-1.9.18.2 app/decorators/tramway/event/person_decorator.rb
tramway-event-1.9.18.1 app/decorators/tramway/event/person_decorator.rb
tramway-event-1.9.18 app/decorators/tramway/event/person_decorator.rb
tramway-event-1.9.17 app/decorators/tramway/event/person_decorator.rb
tramway-event-1.9.16 app/decorators/tramway/event/person_decorator.rb
tramway-event-1.9.15 app/decorators/tramway/event/person_decorator.rb
tramway-event-1.9.14 app/decorators/tramway/event/person_decorator.rb
tramway-event-1.9.13 app/decorators/tramway/event/person_decorator.rb
tramway-event-1.9.12 app/decorators/tramway/event/person_decorator.rb
tramway-event-1.9.11.2 app/decorators/tramway/event/person_decorator.rb
tramway-event-1.9.11.1 app/decorators/tramway/event/person_decorator.rb
tramway-event-1.9.11 app/decorators/tramway/event/person_decorator.rb
tramway-event-1.9.10.1 app/decorators/tramway/event/person_decorator.rb
tramway-event-1.9.10 app/decorators/tramway/event/person_decorator.rb
tramway-event-1.9.9.2 app/decorators/tramway/event/person_decorator.rb
tramway-event-1.9.9.1 app/decorators/tramway/event/person_decorator.rb
tramway-event-1.9.9 app/decorators/tramway/event/person_decorator.rb
tramway-event-1.9.8 app/decorators/tramway/event/person_decorator.rb