Sha256: 641f2f7b66af04e3e318c9b189c9d9ae0afdc94baf0a3c0d3d73e7617fcdfeb0
Contents?: true
Size: 523 Bytes
Versions: 10
Compression:
Stored size: 523 Bytes
Contents
# frozen_string_literal: true module Decidim::Amendable # This cell renders the action buttons for coauthors to amend the given resource. class EmendationActionsCell < Decidim::ViewModel delegate :amendment, to: :model def current_component model.component end def review_amend_path decidim.review_amend_path(amendment) end def reject_amend_path decidim.reject_amend_path(amendment) end def decidim Decidim::Core::Engine.routes.url_helpers end end end
Version data entries
10 entries across 10 versions & 1 rubygems