foodsoft/config/initializers/gaffe.rb

7 lines
153 B
Ruby
Raw Permalink Normal View History

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