Sha256: 5ee2fb5ba241c3ca3dd94da6ddc4481264a4b21790a1d862ddd07b26c5588698

Contents?: true

Size: 354 Bytes

Versions: 13

Compression:

Stored size: 354 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

13 entries across 13 versions & 1 rubygems

Version Path
importo-3.0.21 lib/generators/satis/templates/config/initializers/satis.rb
importo-3.0.20 lib/generators/satis/templates/config/initializers/satis.rb
importo-3.0.19 lib/generators/satis/templates/config/initializers/satis.rb
importo-3.0.18 lib/generators/satis/templates/config/initializers/satis.rb
importo-3.0.17 lib/generators/satis/templates/config/initializers/satis.rb
importo-3.0.16 lib/generators/satis/templates/config/initializers/satis.rb
importo-3.0.15 lib/generators/satis/templates/config/initializers/satis.rb
importo-3.0.14 lib/generators/satis/templates/config/initializers/satis.rb
importo-3.0.13 lib/generators/satis/templates/config/initializers/satis.rb
importo-3.0.12 lib/generators/satis/templates/config/initializers/satis.rb
importo-3.0.11 lib/generators/satis/templates/config/initializers/satis.rb
importo-3.0.10 lib/generators/satis/templates/config/initializers/satis.rb
importo-3.0.9 lib/generators/satis/templates/config/initializers/satis.rb