foodsoft/config/initializers/gaffe.rb

7 lines
161 B
Ruby
Raw Normal View History

2015-06-06 20:20:07 +02:00
if Rails.env.production? || Rails.env.staging? || true
Gaffe.configure do |config|
config.errors_controller = 'ErrorsController'
end
Gaffe.enable!
end