Sha256: 15abfe651d5b3e7ad85414ad27feaf6c469bccebeb211a2834fecbafa66a1211

Contents?: true

Size: 353 Bytes

Versions: 36

Compression:

Stored size: 353 Bytes

Contents

# frozen_string_literal: true

Satis.setup do |config|
  config.submit_on_enter = false

  config.logger = Rails.logger
  config.confirm_before_leave = false
  config.current_user = -> { Current.user }

  config.default_help_text = lambda do |template, object, key, additional_scope|
    I18n.t((["help"] + [key.to_s]).join("."), default: nil)
  end
end

Version data entries

36 entries across 36 versions & 1 rubygems

Version Path
satis-2.1.43 lib/generators/satis/templates/config/initializers/satis.rb
satis-2.1.42 lib/generators/satis/templates/config/initializers/satis.rb
satis-2.1.41 lib/generators/satis/templates/config/initializers/satis.rb
satis-2.1.40 lib/generators/satis/templates/config/initializers/satis.rb
satis-2.1.39 lib/generators/satis/templates/config/initializers/satis.rb
satis-2.1.38 lib/generators/satis/templates/config/initializers/satis.rb
satis-2.1.37 lib/generators/satis/templates/config/initializers/satis.rb
satis-2.1.36 lib/generators/satis/templates/config/initializers/satis.rb
satis-2.1.35 lib/generators/satis/templates/config/initializers/satis.rb
satis-2.1.33 lib/generators/satis/templates/config/initializers/satis.rb
satis-2.1.31 lib/generators/satis/templates/config/initializers/satis.rb
satis-2.1.30 lib/generators/satis/templates/config/initializers/satis.rb
satis-2.1.29 lib/generators/satis/templates/config/initializers/satis.rb
satis-2.1.28 lib/generators/satis/templates/config/initializers/satis.rb
satis-2.1.27 lib/generators/satis/templates/config/initializers/satis.rb
satis-2.1.26 lib/generators/satis/templates/config/initializers/satis.rb
satis-2.1.24 lib/generators/satis/templates/config/initializers/satis.rb
satis-2.1.23 lib/generators/satis/templates/config/initializers/satis.rb
satis-2.1.22 lib/generators/satis/templates/config/initializers/satis.rb
satis-2.1.21 lib/generators/satis/templates/config/initializers/satis.rb