Ghost/core/server/models
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
..
base Dynamic Routing Beta (#9596) 2018-06-05 19:02:20 +02:00
plugins 🔥 Drop Node v4 Support 2018-05-01 14:06:18 +02:00
relations 🔥 Drop Node v4 Support 2018-05-01 14:06:18 +02:00
accesstoken.js 🔥 Drop Node v4 Support 2018-05-01 14:06:18 +02:00
app-field.js Misc cleanup: moving files & naming functions 2015-06-15 09:43:19 +01:00
app-setting.js Misc cleanup: moving files & naming functions 2015-06-15 09:43:19 +01:00
app.js Switch to Eslint (#9197) 2017-11-01 13:44:54 +00:00
client-trusted-domain.js Add table columns for OAuth 2015-09-02 13:39:22 +01:00
client.js 🎨 😎 config env usages (#7929) 2017-02-03 18:25:39 +00:00
index.js Webhooks support for subscriber events (#9230) 2017-11-21 15:43:14 +00:00
invite.js Dynamic Routing: Added migration for routes.yaml file (#9692) 2018-06-22 20:28:01 +02:00
permission.js 🔥 Drop Node v4 Support 2018-05-01 14:06:18 +02:00
post.js Dynamic Routing Beta (#9596) 2018-06-05 19:02:20 +02:00
refreshtoken.js Misc cleanup: moving files & naming functions 2015-06-15 09:43:19 +01:00
role.js Proper error handling for permissible implementations 2018-02-21 16:59:48 +01:00
settings.js 🔥 Drop Node v4 Support 2018-05-01 14:06:18 +02:00
subscriber.js 🔥 Drop Node v4 Support 2018-05-01 14:06:18 +02:00
tag.js Dynamic Routing Beta (#9596) 2018-06-05 19:02:20 +02:00
user.js 🔥 Drop Node v4 Support 2018-05-01 14:06:18 +02:00
webhook.js 🔥 Drop Node v4 Support 2018-05-01 14:06:18 +02:00