Sha256: f6061e77a6decf47a50259d89de7998c53e2c15bf23ab5412b310c3c5646e86d

Contents?: true

Size: 335 Bytes

Versions: 30

Compression:

Stored size: 335 Bytes

Contents

# frozen_string_literal: true

require "active_support/concern"

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

    included do
      include Scopable

      delegate :scopes_enabled, to: :participatory_space
    end
  end
end

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
decidim-core-0.13.1 lib/decidim/scopable_component.rb
decidim-core-0.12.2 lib/decidim/scopable_component.rb
decidim-core-0.13.0 lib/decidim/scopable_component.rb
decidim-core-0.12.1 lib/decidim/scopable_component.rb
decidim-core-0.13.0.pre1 lib/decidim/scopable_component.rb
decidim-core-0.12.0 lib/decidim/scopable_component.rb
decidim-core-0.11.2 lib/decidim/scopable_component.rb
decidim-core-0.12.0.pre lib/decidim/scopable_component.rb
decidim-core-0.11.1 lib/decidim/scopable_component.rb
decidim-core-0.11.0.pre1 lib/decidim/scopable_component.rb