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.23.6 lib/decidim/sortitions.rb
decidim-sortitions-0.23.5 lib/decidim/sortitions.rb
decidim-sortitions-0.23.4 lib/decidim/sortitions.rb
decidim-sortitions-0.23.3 lib/decidim/sortitions.rb
decidim-sortitions-0.23.2 lib/decidim/sortitions.rb
decidim-sortitions-0.23.1 lib/decidim/sortitions.rb
decidim-sortitions-0.23.1.rc1 lib/decidim/sortitions.rb
decidim-sortitions-0.23.0 lib/decidim/sortitions.rb
decidim-sortitions-0.22.0 lib/decidim/sortitions.rb
decidim-sortitions-0.21.0 lib/decidim/sortitions.rb
decidim-sortitions-0.20.1 lib/decidim/sortitions.rb
decidim-sortitions-0.20.0 lib/decidim/sortitions.rb
decidim-sortitions-0.19.1 lib/decidim/sortitions.rb
decidim-sortitions-0.18.1 lib/decidim/sortitions.rb
decidim-sortitions-0.19.0 lib/decidim/sortitions.rb
decidim-sortitions-0.17.2 lib/decidim/sortitions.rb
decidim-sortitions-0.18.0 lib/decidim/sortitions.rb
decidim-sortitions-0.17.1 lib/decidim/sortitions.rb
decidim-sortitions-0.16.1 lib/decidim/sortitions.rb
decidim-sortitions-0.17.0 lib/decidim/sortitions.rb