foodsoft/config/initializers/gaffe.rb
2015-07-21 00:08:17 +02:00

6 lines
161 B
Ruby

if Rails.env.production? || Rails.env.staging? || true
Gaffe.configure do |config|
config.errors_controller = 'ErrorsController'
end
Gaffe.enable!
end