Sha256: 939eb80b9458b8329e28c075ca903e32af35ecaa6a3c246427894da951ac2275

Contents?: true

Size: 247 Bytes

Versions: 2

Compression:

Stored size: 247 Bytes

Contents

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

  delegate :title, to: :object

  def background
    object.photo
  end

  def tagline
    ''
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
tramway-event-0.4.1 app/decorators/tramway/event/event_decorator.rb
tramway-event-0.4 app/decorators/tramway/event/event_decorator.rb