Ghost/core/test
Hannah Wolfe 9f9d8b2fec Always use our redirects utility (#9132)
no issue

- This started as an attempt to simplify the admin redirect code
- I realised we were sometimes using utils.redirect301 and sometimes not
- Decided to move this into utils.url as it's more relevant to URL generation
- Unified usage of redirects in the codebase
- Updated tests & ensured we have basic coverage
- rename adminRedirect -> redirectToAdmin
- Tweak method signature, fix channel edit redirects
- Tests: Optimised test descriptions for url-redirects_spec.js
- ensure caching works as expected
2017-10-12 14:36:50 +02:00
..
functional Always use our redirects utility (#9132) 2017-10-12 14:36:50 +02:00
integration Custom post templates (#9073) 2017-10-10 13:36:35 +01:00
unit Always use our redirects utility (#9132) 2017-10-12 14:36:50 +02:00
utils Support filtering based on primary_tag (#9124) 2017-10-10 14:07:44 +02:00
.jshintrc Remove jshint rules that are no longer supported 2015-01-23 21:00:37 +00:00