Sha256: 892e3d7e24d0881ab01eeaf82d9e3eac10e66e0b093bbd9f9ff6ef7cf9dcae50

Contents?: true

Size: 296 Bytes

Versions: 5

Compression:

Stored size: 296 Bytes

Contents

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

  delegate :title, to: :object
  delegate :participant_form_fields, to: :object

  def background
    object.photo
  end

  def tagline
    ''
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
tramway-event-1.0.1 app/decorators/tramway/event/event_decorator.rb
tramway-event-1.0 app/decorators/tramway/event/event_decorator.rb
tramway-event-0.7 app/decorators/tramway/event/event_decorator.rb
tramway-event-0.6 app/decorators/tramway/event/event_decorator.rb
tramway-event-0.5 app/decorators/tramway/event/event_decorator.rb