Sha256: 0d21dc35597d3b65b861df2fee05054d5b56c6e08617b93c111679aed3189fcd
Contents?: true
Size: 495 Bytes
Versions: 88
Compression:
Stored size: 495 Bytes
Contents
# frozen_string_literal: true module Decidim module AdminLog # This class extends the default resource presenter for logs, so that # it can properly link to the newsletter. class NewsletterResourcePresenter < Decidim::Log::ResourcePresenter private # Private: Finds the admin link for the newsletter. # # Returns an HTML-safe String. def resource_path @resource_path ||= h.decidim_admin.newsletter_path(resource) end end end end
Version data entries
88 entries across 88 versions & 1 rubygems