Ghost/core/test/functional
Rosco Kalis 3d8bf02a8d Redirected /amp links to original post when AMP is disabled (#9496)
closes #9495

- Added a clause for amp being disabled
- In this clause, we strip the final 'amp/' part of the url, and redirect
- Changed corresponding test in frontend_spec.js
- Used `urlService.utils.redirect301()` instead of `res.redirect()`
2018-03-19 16:11:48 +07:00
..
module
routes Redirected /amp links to original post when AMP is disabled (#9496) 2018-03-19 16:11:48 +07:00