Sha256: 56de4bc91d1fd16ca174b19452c0e8e5a032e20ef4e29a8b239ccec72bdd8ecf

Contents?: true

Size: 333 Bytes

Versions: 2

Compression:

Stored size: 333 Bytes

Contents

# frozen_string_literal: true

require "active_support/concern"

module Decidim
  # This concern contains the logic related to scopes included by components.
  module ScopableFeature
    extend ActiveSupport::Concern

    included do
      include Scopable

      delegate :scopes_enabled, to: :participatory_space
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
decidim-core-0.10.1 lib/decidim/scopable_feature.rb
decidim-core-0.10.0 lib/decidim/scopable_feature.rb