mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-05 18:34:39 +03:00
9f9d8b2fec
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 |
||
---|---|---|
.. | ||
api | ||
cache-control_spec.js | ||
ghost-locals_spec.js | ||
serve-favicon_spec.js | ||
serve-public-file_spec.js | ||
static-theme_spec.js | ||
theme-handler_spec.js | ||
uncapitalise_spec.js | ||
url-redirects_spec.js |