consul/ui-v2/app/routes/dc
John Cowen 4179afae06 Instead of rewriting the API call, use ember to rewrite the URL
We now essentially do 2 redirects if you hit a `folder/`

1. If you visit `/ui/dc1/kv/folder/`, `consul` will redirect you to `/ui/dc1/kv/folder`
2. Once redirected to `/ui/dc1/kv/folder` via a 301, use ember/history
API to redirect you back to `/ui/dc1/kv/folder/`.

Bit long winded, but achieves what we want without having to get stuck
into `consul` itself to remove the 301 for the UI
2018-07-11 10:44:37 +01:00
..
acls Use defaultValue for making sure Name is at least '' 2018-06-12 11:24:36 +01:00
intentions Check for NOT connect-proxy 2018-06-25 12:25:40 -07:00
kv Instead of rewriting the API call, use ember to rewrite the URL 2018-07-11 10:44:37 +01:00
nodes UI V2 (#4086) 2018-05-10 19:52:53 +01:00
services UI V2 (#4086) 2018-05-10 19:52:53 +01:00
index.js Add a beforeModel hook at dc/index to auto transition to services 2018-06-21 12:49:00 +01:00