Sha256: 1e0180c01174d7136b49d22bd96552ba1a25e72563f1c4d18c40af93cb9ebe49

Contents?: true

Size: 225 Bytes

Versions: 60

Compression:

Stored size: 225 Bytes

Contents

# frozen_string_literal: true

class Tramway::Event::EventLinkDecorator < ::Tramway::Landing::LinkDecorator
  delegate :title, to: :object

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

Version data entries

60 entries across 60 versions & 1 rubygems

Version Path
tramway-event-1.12.3.3 app/decorators/tramway/event/event_link_decorator.rb
tramway-event-1.12.3.2 app/decorators/tramway/event/event_link_decorator.rb
tramway-event-1.12.3.1 app/decorators/tramway/event/event_link_decorator.rb
tramway-event-1.12.3 app/decorators/tramway/event/event_link_decorator.rb
tramway-event-1.12.2 app/decorators/tramway/event/event_link_decorator.rb
tramway-event-1.12.1.1 app/decorators/tramway/event/event_link_decorator.rb
tramway-event-1.12.1 app/decorators/tramway/event/event_link_decorator.rb
tramway-event-1.12.0.1 app/decorators/tramway/event/event_link_decorator.rb
tramway-event-1.12 app/decorators/tramway/event/event_link_decorator.rb
tramway-event-1.11.5.1 app/decorators/tramway/event/event_link_decorator.rb
tramway-event-1.11.5 app/decorators/tramway/event/event_link_decorator.rb
tramway-event-1.11.4.1 app/decorators/tramway/event/event_link_decorator.rb
tramway-event-1.11.4 app/decorators/tramway/event/event_link_decorator.rb
tramway-event-1.11.2.1 app/decorators/tramway/event/event_link_decorator.rb
tramway-event-1.11.2 app/decorators/tramway/event/event_link_decorator.rb
tramway-event-1.11.1 app/decorators/tramway/event/event_link_decorator.rb
tramway-event-1.11.0.1 app/decorators/tramway/event/event_link_decorator.rb
tramway-event-1.11 app/decorators/tramway/event/event_link_decorator.rb
tramway-event-1.10.2 app/decorators/tramway/event/event_link_decorator.rb
tramway-event-1.10.1 app/decorators/tramway/event/event_link_decorator.rb