Ghost/core/test/unit/services/settings
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
..
cache_spec.js Moved labs, auth, permissions, settings, mail, themes to services (#9339) 2017-12-14 03:01:23 +01:00
ensure-settings_spec.js Dynamic Routing: Added migration for routes.yaml file (#9692) 2018-06-22 20:28:01 +02:00
loader_spec.js Dynamic Routing Beta (#9596) 2018-06-05 19:02:20 +02:00
settings_spec.js Dynamic Routing Beta (#9596) 2018-06-05 19:02:20 +02:00
validate_spec.js Dynamic Routing Beta: Better template support 2018-06-21 16:22:45 +02:00
yaml-parser_spec.js Dynamic Routing Beta (#9596) 2018-06-05 19:02:20 +02:00