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.22.0 lib/decidim/scopable_component.rb
decidim-core-0.21.0 lib/decidim/scopable_component.rb
decidim-core-0.20.1 lib/decidim/scopable_component.rb
decidim-core-0.20.0 lib/decidim/scopable_component.rb
decidim-core-0.19.1 lib/decidim/scopable_component.rb
decidim-core-0.18.1 lib/decidim/scopable_component.rb
decidim-core-0.19.0 lib/decidim/scopable_component.rb
decidim-core-0.17.2 lib/decidim/scopable_component.rb
decidim-core-0.18.0 lib/decidim/scopable_component.rb
decidim-core-0.17.1 lib/decidim/scopable_component.rb
decidim-core-0.16.1 lib/decidim/scopable_component.rb
decidim-core-0.17.0 lib/decidim/scopable_component.rb
decidim-core-0.16.0 lib/decidim/scopable_component.rb
decidim-core-0.15.2 lib/decidim/scopable_component.rb
decidim-core-0.15.1 lib/decidim/scopable_component.rb
decidim-core-0.15.0 lib/decidim/scopable_component.rb
decidim-core-0.14.4 lib/decidim/scopable_component.rb
decidim-core-0.14.3 lib/decidim/scopable_component.rb
decidim-core-0.14.2 lib/decidim/scopable_component.rb
decidim-core-0.14.1 lib/decidim/scopable_component.rb