Sha256: 039a99f221258554a7797117946411af764aa1dc84c16ab08726bdf24001a136

Contents?: true

Size: 624 Bytes

Versions: 38

Compression:

Stored size: 624 Bytes

Contents

# frozen_string_literal: true

require "decidim/sortitions/admin"
require "decidim/sortitions/engine"
require "decidim/sortitions/admin_engine"
require "decidim/sortitions/component"

module Decidim
  # Base module for this engine.
  module Sortitions
    include ActiveSupport::Configurable

    # Public setting that defines how many elements will be shown
    # per page inside the administration view.
    config_accessor :items_per_page do
      15
    end

    # Link to algorithm used for the sortition
    config_accessor :sortition_algorithm do
      "https://ruby-doc.org/core-2.4.0/Random.html"
    end
  end
end

Version data entries

38 entries across 38 versions & 1 rubygems

Version Path
decidim-sortitions-0.16.0 lib/decidim/sortitions.rb
decidim-sortitions-0.15.2 lib/decidim/sortitions.rb
decidim-sortitions-0.15.1 lib/decidim/sortitions.rb
decidim-sortitions-0.15.0 lib/decidim/sortitions.rb
decidim-sortitions-0.14.4 lib/decidim/sortitions.rb
decidim-sortitions-0.14.3 lib/decidim/sortitions.rb
decidim-sortitions-0.14.2 lib/decidim/sortitions.rb
decidim-sortitions-0.14.1 lib/decidim/sortitions.rb
decidim-sortitions-0.13.1 lib/decidim/sortitions.rb
decidim-sortitions-0.12.2 lib/decidim/sortitions.rb
decidim-sortitions-0.13.0 lib/decidim/sortitions.rb
decidim-sortitions-0.12.1 lib/decidim/sortitions.rb
decidim-sortitions-0.13.0.pre1 lib/decidim/sortitions.rb
decidim-sortitions-0.12.0 lib/decidim/sortitions.rb
decidim-sortitions-0.11.2 lib/decidim/sortitions.rb
decidim-sortitions-0.12.0.pre lib/decidim/sortitions.rb
decidim-sortitions-0.11.1 lib/decidim/sortitions.rb
decidim-sortitions-0.11.0.pre1 lib/decidim/sortitions.rb