mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-25 20:46:48 +00:00
11 lines
262 B
Ruby
11 lines
262 B
Ruby
# frozen_string_literal: true
|
|
|
|
if defined?(Bullet) && ENV.fetch("ENABLE_BULLET", false)
|
|
Rails.application.config.after_initialize do
|
|
Bullet.enable = true
|
|
Bullet.add_footer = true
|
|
Bullet.bullet_logger = true
|
|
Bullet.rails_logger = true
|
|
end
|
|
end
|