Sha256: b46bb291f88b3636ccc644eafaade2f65406907d364bfe8229d3a099e284f0ba

Contents?: true

Size: 458 Bytes

Versions: 1

Compression:

Stored size: 458 Bytes

Contents

# frozen_string_literal: true

module Decidim
  module ReportingProposals
    module ResourceManifestOverride
      extend ActiveSupport::Concern

      included do
        # The name of the named Rails route to create the url to admin the resource
        # If it is not defined, the resource will be considered non-administrable
        # and no link will be generated in some places
        attribute :admin_route_name, String
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
decidim-reporting_proposals-0.6.0 app/resources/concerns/decidim/reporting_proposals/resource_manifest_override.rb