Sha256: 7aa39f8737f43a59f721d8fb86816a8f503579eee9f040785b4414ca107acfcd
Contents?: true
Size: 520 Bytes
Versions: 74
Compression:
Stored size: 520 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 OAuthApplication. class OAuthApplicationResourcePresenter < Decidim::Log::ResourcePresenter private # Private: Finds the admin link for the OAuthApplication. # # Returns an HTML-safe String. def resource_path @resource_path ||= h.decidim_admin.oauth_application_path(resource) end end end end
Version data entries
74 entries across 74 versions & 1 rubygems