6 lines
153 B
Ruby
6 lines
153 B
Ruby
if Rails.env.production? || Rails.env.staging?
|
|
Gaffe.configure do |config|
|
|
config.errors_controller = 'ErrorsController'
|
|
end
|
|
Gaffe.enable!
|
|
end
|