Ghost/core/server/lib/security
Katharina Irrgang 5a61f99467
Dynamic Routing: Added migration for routes.yaml file (#9692)
refs #9601

- the home.hbs behaviour for the index collection (`/`) is hardcoded in Ghost
- we would like to migrate all existing routes.yaml files
- we only replace the file if the contents of the routes.yaml file equals the old routes.yaml format (with home.hbs as template)
- updated README of settings folder
- if we don't remove the home.hbs template from the default routes.yaml file, home.hbs will be rendered for any page of the index collection
  - the backwards compatible behaviour was different
  - only render home.hbs for page 1
- remember: the default routes.yaml file reflects how Ghost was working without dynamic routing
2018-06-22 20:28:01 +02:00
..
identifier.js 🔥 Drop Node v4 Support 2018-05-01 14:06:18 +02:00
index.js 🔥 Drop Node v4 Support 2018-05-01 14:06:18 +02:00
password.js Fixed missing Bluebird require in security/password.js (#9624) 2018-05-28 23:01:01 +02:00
string.js 🔥 Drop Node v4 Support 2018-05-01 14:06:18 +02:00
tokens.js Dynamic Routing: Added migration for routes.yaml file (#9692) 2018-06-22 20:28:01 +02:00
url.js Moved tokens, url safe and safe string utility to lib/security 2017-12-14 13:38:00 +01:00