Sha256: 1cc5839f8b8c89e8434e08de6816dacf2804ff3bb9018a3b22507b210125849b

Contents?: true

Size: 406 Bytes

Versions: 4

Compression:

Stored size: 406 Bytes

Contents

# frozen_string_literal: true

module Decidim
  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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
decidim-reporting_proposals-0.5.2 app/resources/concerns/decidim/resource_manifest_override.rb
decidim-reporting_proposals-0.5.1 app/resources/concerns/decidim/resource_manifest_override.rb
decidim-reporting_proposals-0.5.0 app/resources/concerns/decidim/resource_manifest_override.rb
decidim-reporting_proposals-0.4.2 app/resources/concerns/decidim/resource_manifest_override.rb