Ghost/core/test/integration
kirrg001 a1b55509df Dynamic Routing Beta: collection name behaviour
refs #9601

Example:

```
collections:
  /podcast/:
    permalink: /{slug}/
```

- the name of the collection is remembered as `routerName` (in the case above: "podcast")
- the name of the collection is important for two things
  1. context value
  2. template name
- the context value is available for specific theme helpers e.g. is helper, body_class helper
- we auto-lookup the collection name in your theme e.g. podcast.hbs
- this logic does not apply to static routes
- if you define templates on your collection, they are stronger than the collection name
2018-06-21 20:59:43 +02:00
..
api Dynamic Routing Beta (#9596) 2018-06-05 19:02:20 +02:00
data/importer/importers 🐛 Fixed unable to publish a post after slack hook import 2018-06-11 11:08:08 +02:00
helpers Dynamic Routing Beta: collection name behaviour 2018-06-21 20:59:43 +02:00
model Dynamic Routing Beta (#9596) 2018-06-05 19:02:20 +02:00
services/url Fixed collection ownership if a published post status changes to featured 2018-06-17 10:41:05 +02:00
web Dynamic Routing Beta: Better template support 2018-06-21 16:22:45 +02:00
export_spec.js Moved ghost-version to lib 2017-12-14 22:14:55 +01:00
migration_spec.js Sorted out the mixed usages of include and withRelated (#9425) 2018-02-15 10:53:53 +01:00
update_check_spec.js Use Bookshelf in our test env (#9592) 2018-04-25 17:13:35 +02:00