mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Merge pull request #7213 from Matt-Yorkley/optional-bullet
Make bullet activation optional
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
if defined?(Bullet)
|
||||
if defined?(Bullet) && ENV.fetch("ENABLE_BULLET", false)
|
||||
Rails.application.config.after_initialize do
|
||||
Bullet.enable = true
|
||||
Bullet.bullet_logger = true
|
||||
|
||||
Reference in New Issue
Block a user