Edit an existing route in the Router
If there’s a need to edit a Route in the database, follow these instructions:
$ ssh router-backend-1.router.production $ govuk_app_console router-api > r = Route.where(incoming_path: '/path-to-item').first
r object directly (see the
available options), eg:
> r.route_type = 'exact' > r.save!
once you’ve edited the Route appropriately and saved it, you need to reload the router: