diff --git a/config/routes.rb b/config/routes.rb index d6747e131..d40c4a721 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -8,7 +8,10 @@ mount GovukPublishingComponents::Engine, at: "/component-guide" - get "healthcheck", to: proc { [200, {}, [""]] } + get "/healthcheck", + to: GovukHealthcheck.rack_response( + GovukHealthcheck::RailsCache, + ) get "/government/uploads/*path" => "asset_manager_redirect#show", format: false