open-consul/ui-v2/app/routes
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
..
dc Instead of rewriting the API call, use ember to rewrite the URL 2018-07-11 10:44:37 +01:00
application.js Make sure the dc menu is as useful as possible when things go wrong 2018-06-22 17:23:00 +01:00
dc.js UI V2 (#4086) 2018-05-10 19:52:53 +01:00
index.js UI V2 (#4086) 2018-05-10 19:52:53 +01:00
notfound.js UI V2 (#4086) 2018-05-10 19:52:53 +01:00
settings.js UI V2 (#4086) 2018-05-10 19:52:53 +01:00