Sha256: dce207ef0d8758fec221df68147171ecc3106a0d5955f60aaa1a4dbae38230d6

Contents?: true

Size: 368 Bytes

Versions: 6

Compression:

Stored size: 368 Bytes

Contents

# frozen_string_literal: true

require "active_support/configurable"
require "active_support/core_ext/numeric"

module Koi
  class Config
    include ActiveSupport::Configurable

    config_accessor(:resource_name_candidates) { %i[title name] }

    config_accessor(:image_size_limit) { 10.megabytes }

    config_accessor(:admin_stylesheet) { "koi/admin" }
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
katalyst-koi-4.5.8 lib/koi/config.rb
katalyst-koi-4.5.7 lib/koi/config.rb
katalyst-koi-4.5.6 lib/koi/config.rb
katalyst-koi-4.5.5 lib/koi/config.rb
katalyst-koi-4.5.4 lib/koi/config.rb
katalyst-koi-4.5.3 lib/koi/config.rb