open-consul/ui-v2/app/routes/dc/kv
John Cowen b8042c722e 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
..
create.js UI V2 (#4086) 2018-05-10 19:52:53 +01:00
edit.js UI V2 (#4086) 2018-05-10 19:52:53 +01:00
folder.js Session Delete confirmation button and KV console error message (#4109) 2018-05-11 16:25:35 +01:00
index.js Instead of rewriting the API call, use ember to rewrite the URL 2018-07-11 10:44:37 +01:00
root-create.js UI V2 (#4086) 2018-05-10 19:52:53 +01:00