```ruby
class ActionController::Forbidden < StandardError
end
class ActionController::Unauthorized < StandardError
end

ActionDispatch::ShowExceptions.rescue_responses.update('ActionController::Forbidden' => :forbidden)
ActionDispatch::ShowExceptions.rescue_responses.update('ActionController::Unauthorized' => :unauthorized)
```

Fix deprecation warning on rescue responses
user
```ruby
class ActionController::Forbidden < StandardError
end
class ActionController::Unauthorized < StandardError
end

CarbonDiet::Application.config.action_dispatch.rescue_responses.update('ActionController::Forbidden' => :forbidden)
CarbonDiet::Application.config.action_dispatch.rescue_responses.update('ActionController::Unauthorized' => :unauthorized)
```
assistant