debian-mirror-gitlab/config/initializers/bullet.rb

12 lines
253 B
Ruby
Raw Normal View History

2017-08-17 22:00:37 +05:30
if defined?(Bullet) && ENV['ENABLE_BULLET']
Rails.application.configure do
config.after_initialize do
Bullet.enable = true
2015-10-24 18:46:33 +05:30
2017-08-17 22:00:37 +05:30
Bullet.bullet_logger = true
Bullet.console = true
Bullet.raise = Rails.env.test?
end
end
2015-10-24 18:46:33 +05:30
end