Ghost/core/test/unit
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
..
adapters Removed old jshint/jscs rules 2018-06-02 21:48:23 +02:00
api Added /oembed API endpoint 2018-06-12 16:18:01 +01:00
apps 🐛 Fixed preview url and Zapier on subdirectory (#9683) 2018-06-12 16:36:58 +01:00
config Removed old jshint/jscs rules 2018-06-02 21:48:23 +02:00
data Dynamic Routing Beta: collection name behaviour 2018-06-21 20:59:43 +02:00
helpers 🐛 Fixed preview url and Zapier on subdirectory (#9683) 2018-06-12 16:36:58 +01:00
lib Koenig - Do not render image cards with no src on the front-end 2018-06-14 14:57:09 +01:00
models Removed knex mock (#9685) 2018-06-12 20:26:16 +02:00
public Removed old jshint/jscs rules 2018-06-02 21:48:23 +02:00
services Dynamic Routing: Added migration for routes.yaml file (#9692) 2018-06-22 20:28:01 +02:00
web Removed old jshint/jscs rules 2018-06-02 21:48:23 +02:00
filters_spec.js Tidy up unit test files (#9340) 2017-12-14 03:36:50 +01:00