Sha256: 855931e51468297894629dcd546a42d2533026b5c2cc79d1de7f592c8af2e811

Contents?: true

Size: 442 Bytes

Versions: 1

Compression:

Stored size: 442 Bytes

Contents

# frozen_string_literal: true

Signum.setup do |config|
  config.base_controller = "::ApplicationController"
  config.admin_authentication_module = "Authenticated"
  config.hide_after = 60_000 if Rails.env.test?
  config.current_user = -> { Current.user }
  config.drawer_notifications_container_id = -> { "drawer_notifications_#{Current.user.id}" }
  config.balloon_notifications_container_id = -> { "notifications_#{Current.user.id}" }
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
signum-0.7.8 lib/generators/signum/templates/config/initializers/signum.rb