Sha256: adebffba5df0c706e999a7562838aafdf4743ae8f0aeb38433fbfdb0c7e81aa9

Contents?: true

Size: 334 Bytes

Versions: 12

Compression:

Stored size: 334 Bytes

Contents

# frozen_string_literal: true

Signum.setup do |config|
  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

12 entries across 12 versions & 1 rubygems

Version Path
signum-0.7.4 lib/generators/signum/templates/config/initializers/signum.rb
signum-0.7.2 lib/generators/signum/templates/config/initializers/signum.rb
signum-0.7.1 lib/generators/signum/templates/config/initializers/signum.rb
signum-0.7.0 lib/generators/signum/templates/config/initializers/signum.rb
signum-0.6.0 lib/generators/signum/templates/config/initializers/signum.rb
signum-0.5.1 lib/generators/signum/templates/config/initializers/signum.rb
signum-0.5.0 lib/generators/signum/templates/config/initializers/signum.rb
signum-0.4.13 lib/generators/signum/templates/config/initializers/signum.rb
signum-0.4.12 lib/generators/signum/templates/config/initializers/signum.rb
signum-0.4.11 lib/generators/signum/templates/config/initializers/signum.rb
signum-0.4.10 lib/generators/signum/templates/config/initializers/signum.rb
signum-0.4.8 lib/generators/signum/templates/config/initializers/signum.rb