Sha256: 4f6b6fc7b79c681032a9103235efd6db91320e5de2d076c4f1e5ee6ea1095418

Contents?: true

Size: 295 Bytes

Versions: 7

Compression:

Stored size: 295 Bytes

Contents

# frozen_string_literal: true

if defined?(Bullet) && !Rails.application.config.try(:boost_performance)
  Rails.application.config.after_initialize do
    Bullet.enable = true
    Bullet.bullet_logger = true
    Bullet.rails_logger = true
    Bullet.stacktrace_includes = %w(decidim-)
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
decidim-generators-0.28.4 lib/decidim/generators/app_templates/bullet_initializer.rb
decidim-generators-0.28.3 lib/decidim/generators/app_templates/bullet_initializer.rb
decidim-generators-0.28.2 lib/decidim/generators/app_templates/bullet_initializer.rb
decidim-generators-0.28.1 lib/decidim/generators/app_templates/bullet_initializer.rb
decidim-generators-0.28.0 lib/decidim/generators/app_templates/bullet_initializer.rb
decidim-generators-0.28.0.rc5 lib/decidim/generators/app_templates/bullet_initializer.rb
decidim-generators-0.28.0.rc4 lib/decidim/generators/app_templates/bullet_initializer.rb