0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00
ghost/core/server/controllers/frontend
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
..
channel-config.js Always use our redirects utility (#9132) 2017-10-12 14:36:50 +02:00
channels.js Always use our redirects utility (#9132) 2017-10-12 14:36:50 +02:00
context.js Added support for custom channel contexts (#9114) 2017-10-09 11:59:46 +02:00
error.js Split helper functions from frontend controller 2015-10-22 18:46:58 +01:00
fetch-data.js Posts per page as theme-config (#8149) 2017-03-14 18:03:36 +01:00
format-response.js Switch frontend controller to use new filter param 2015-10-26 09:40:19 +00:00
post-lookup.js 🎨 Move settings cache & cleanup settings API (#8057) 2017-02-27 16:53:04 +01:00
render-channel.js Misc cleanup & consistency amends (#9002) 2017-09-12 17:31:14 +02:00
render-post.js Splitted preview & single controllers from index (#9121) 2017-10-09 13:56:44 +02:00
secure.js Split helper functions from frontend controller 2015-10-22 18:46:58 +01:00
templates.js Custom post templates (#9073) 2017-10-10 13:36:35 +01:00