Sha256: 7ea65620d3e5afd82110a11d6c4969e97f16603927e94b28a0facf66ce4b7c38

Contents?: true

Size: 198 Bytes

Versions: 38

Compression:

Stored size: 198 Bytes

Contents

class Tramway::Event::EventLinkDecorator < ::Tramway::Core::ApplicationDecorator
  delegate :title, to: :object

  def link
    Tramway::Event::Engine.routes.url_helpers.event_path object
  end
end

Version data entries

38 entries across 38 versions & 1 rubygems

Version Path
tramway-event-1.5.1 app/decorators/tramway/event/event_link_decorator.rb
tramway-event-1.5 app/decorators/tramway/event/event_link_decorator.rb
tramway-event-1.4 app/decorators/tramway/event/event_link_decorator.rb
tramway-event-1.3 app/decorators/tramway/event/event_link_decorator.rb
tramway-event-1.2.6 app/decorators/tramway/event/event_link_decorator.rb
tramway-event-1.2.5 app/decorators/tramway/event/event_link_decorator.rb
tramway-event-1.2.4 app/decorators/tramway/event/event_link_decorator.rb
tramway-event-1.2.3 app/decorators/tramway/event/event_link_decorator.rb
tramway-event-1.2.2 app/decorators/tramway/event/event_link_decorator.rb
tramway-event-1.2.1 app/decorators/tramway/event/event_link_decorator.rb
tramway-event-1.2 app/decorators/tramway/event/event_link_decorator.rb
tramway-event-1.1 app/decorators/tramway/event/event_link_decorator.rb
tramway-event-1.0.1 app/decorators/tramway/event/event_link_decorator.rb
tramway-event-1.0 app/decorators/tramway/event/event_link_decorator.rb
tramway-event-0.7 app/decorators/tramway/event/event_link_decorator.rb
tramway-event-0.6 app/decorators/tramway/event/event_link_decorator.rb
tramway-event-0.5 app/decorators/tramway/event/event_link_decorator.rb
tramway-event-0.4.1 app/decorators/tramway/event/event_link_decorator.rb