Sha256: 7bd1cc46ade00ea587824e2fce175c6c6033ab5a4234f9071d3a4445bcbcc402
Contents?: true
Size: 558 Bytes
Versions: 7
Compression:
Stored size: 558 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 include Decidim::LayoutHelper 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
7 entries across 7 versions & 1 rubygems